D22092: Fix race-condition on akonadi_control start
Daniel Vrátil
noreply at phabricator.kde.org
Tue Jun 25 17:07:35 BST 2019
dvratil created this revision.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
dvratil requested review of this revision.
REVISION SUMMARY
Check that there are no other akonadi_control instances running as the
very first thing on startup. Previously this check would happen after
AkApplication initialization, which contains some potential race-
conditions, like rotating log files.
The situation when akonadi_control is launched multiple times can occur
on session startup, when multiple different components will attempt to
launch Akonadi if its not yet running.
BUG: 392092
FIXED-IN: 19.04.3
REPOSITORY
R165 Akonadi
BRANCH
Applications/19.04
REVISION DETAIL
https://phabricator.kde.org/D22092
AFFECTED FILES
src/akonadicontrol/main.cpp
src/shared/akapplication.cpp
src/shared/akapplication.h
To: dvratil
Cc: kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190625/92516f37/attachment.html>
More information about the kde-pim
mailing list