Bug 371112 - Handle akonadi_control and akonadiserver crash gracefully
Summary: Handle akonadi_control and akonadiserver crash gracefully
Status: CONFIRMED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-18 13:32 UTC by András Manţia
Modified: 2016-10-19 08:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description András Manţia 2016-10-18 13:32:03 UTC
When akonadi_control or akonadiserver crashes, the agents and resources remain in memory, and an akonadictl restart or akonadictl stop does not remove them.
This case should be handled gracefully (the agents should detect the server crashed).

Reproducible: Always
Comment 1 Daniel Vrátil 2016-10-19 08:25:54 UTC
To clarify: the akonadiserver process is managed by akonadi_control too (and will be restarted by akonadi_control if it crashes) so the only case when agents should self-terminate is when akonadi_control crashes ( == org.freedesktop.Akonadi.Control service disappears from DBus)