[Kde-pim] Review Request 124264: Retry starting mysqld a few times. It always failed here.
Andreas Hartmetz
ahartmetz at gmail.com
Mon Aug 10 08:47:17 BST 2015
> On Aug. 9, 2015, 6:02 nachm., Sergio Luis Martins wrote:
> > wasn't this fixed recently ?
Right, a0d51b01f45f7b4417455218ff91feaac3aa6bf6.
- Andreas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124264/#review83619
-----------------------------------------------------------
On Juli 5, 2015, 8:55 nachm., Andreas Hartmetz wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124264/
> -----------------------------------------------------------
>
> (Updated Juli 5, 2015, 8:55 nachm.)
>
>
> Review request for Akonadi.
>
>
> Repository: akonadi
>
>
> Description
> -------
>
> Retry connecting to the MySQL server a couple of times.
>
> For me it reliably failed at the version check, which is the first
> query executed on a new connection. So apparently the connection
> looked ready but wasn't. Looks like a problem in a lower layer
> where I unfortunately couldn't find any suspicious changes.
> I did not look lower than QtSql, though.
>
> With this change, the connections usually succeeds at the fourth
> attempt, which is about one second after the first.
> My previous workaround was trying to start akonadi, obtaining
> the mysqld start command with
> "while true; do ps aux | grep mysqld ; done"
> then starting mysqld manually, then akonadi. That worked
> very reliably.
>
>
> Diffs
> -----
>
> src/server/storage/dbconfigmysql.cpp e42185d
>
> Diff: https://git.reviewboard.kde.org/r/124264/diff/
>
>
> Testing
> -------
>
> The akonadi server starts up again.
> It worked briefly before, but now I couldn't start it anymore on two different machines. I made several attempts.
>
>
> Thanks,
>
> Andreas Hartmetz
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list