Fix race-condition on akonadi_control start
ClosedPublic

Authored by dvratil on Jun 25 2019, 4:07 PM.

Details

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

Diff Detail

Repository
R165 Akonadi
Branch
Applications/19.04
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13300
Build 13318: arc lint + arc unit
dvratil created this revision.Jun 25 2019, 4:07 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptJun 25 2019, 4:07 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
dvratil requested review of this revision.Jun 25 2019, 4:07 PM
vkrause accepted this revision.Jun 28 2019, 3:09 PM
This revision is now accepted and ready to land.Jun 28 2019, 3:09 PM
This revision was automatically updated to reflect the committed changes.