Make database connection more robust #6747
Labels
answered
For when a question was asked and we referred to forum or answered it.
Bug
For errors / faults / flaws / inconsistencies etc.
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Related to the upgrade, I came to realize the database connection isn't very robust.
I operate my db servers through a cluster and with haproxy in front.
For sanity, I reduce the connection life if either the server or the client are inactive for too long.
Piwik upgrade takes some time (ok), but fails to recover is the connection was closed due to the inactivity.
At least one or
X
retry should occur, but it could be possible to specify a master database server onto which the upgrade should be performed safely (no timeout).The text was updated successfully, but these errors were encountered: