mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* avoid replica race lag when remembering ServerID In an HA environment, with a master and read replica, querying the server id from the store runs the risk of returning a value saved to master but not yet replicated. Avoid this by using the telemetry service value directly when available. Fixes: MM-65960 * Add Get(ByName)WithContext * explicitly use master for ServerId * mock GetByNameWithContext * more mocking * more mocks |
||
|---|---|---|
| .. | ||
| testdata | ||
| assertions.go | ||
| cluster.go | ||
| doc.go | ||
| hashers_dev.go | ||
| hashers_production.go | ||
| helper.go | ||
| resources.go | ||
| resources_test.go | ||
| store.go | ||