Files
mattermost/server/boards
Agniva De Sarker 7216dcf367 MM-50427: Make MM survive DB replica outage (#22888)
We monitor the health of DB replicas, and on a fatal error,
take them out of the pool.

On a separate goroutine, we keep pinging the unhealthy replicas,
and on getting a good response back, we add them back to the pool.

https://mattermost.atlassian.net/browse/MM-50427

```release-note
Mattermost is now resilient against DB replica outages and will
dynamically choose a replica if it's alive.

Also added a config parameter ReplicaMonitorIntervalSeconds
whose default value is 5. This controls how frequently unhealthy
replicas will be monitored for liveness check.
```

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-20 13:46:00 +05:30
..
2023-04-18 11:05:28 +05:30
2023-04-18 11:05:28 +05:30
2023-03-22 17:22:27 -04:00
2023-04-18 11:05:28 +05:30
2023-04-18 11:05:28 +05:30
2023-04-18 13:58:33 +02:00
2023-04-18 11:05:28 +05:30
2023-04-18 13:58:33 +02:00
2023-03-22 17:22:27 -04:00
2023-04-18 11:05:28 +05:30
2023-04-18 11:05:28 +05:30
2023-04-18 11:05:28 +05:30