[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Review Request 117144: Switch ServerManager to Broken state immediately when o.f.Akona
From:       "Christian Mollekopf" <chrigi_1 () fastmail ! fm>
Date:       2014-03-28 21:32:31
Message-ID: 20140328213231.10710.40585 () probe ! kde ! org
[Download RAW message or body]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117144/#review54509
-----------------------------------------------------------

Ship it!


Ship It!

- Christian Mollekopf


On March 28, 2014, 5:52 p.m., Dan Vrátil wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117144/
> -----------------------------------------------------------
> 
> (Updated March 28, 2014, 5:52 p.m.)
> 
> 
> Review request for Akonadi.
> 
> 
> Repository: kdepimlibs
> 
> 
> Description
> -------
> 
> When Akonadi is unable to start (because it can't start the DB process for \
> example), it will terminate immediately. The current implementation of \
> ServerManager has a 30 seconds timeout before it goes to 'Broken' state. 
> This patch adds a new check that will switch to Broken state immediately when \
> org.freedesktop.Akonadi.Control.Lock disappears from bus. This service is owned by \
> akonadi_control and when akonadi_control quits, it can only be because Akonadi has \
> stopped (== failed to start), so when this happens in "Startup" state, we can \
> safely assume, that Akonadi failed to start and we should go to Broken state. 
> 
> Diffs
> -----
> 
> akonadi/servermanager.cpp 64ac5e9 
> akonadi/session.cpp 0224c02 
> 
> Diff: https://git.reviewboard.kde.org/r/117144/diff/
> 
> 
> Testing
> -------
> 
> Stopped Akonadi, broke it (so that it does not start), started KMail, got "Akonadi \
> is inoperational" immediately instead of 30 seconds of "Starting up the PIM \
> service...". 
> 
> Thanks,
> 
> Dan Vrátil
> 
> 

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic