Files
patroni/tests
Alexander KukushkinandGitHub 8f3ed00886 Invalidate cache if txn failed due to revision mismatch (#2783)
It was reported in #2779 that the primary was constantly logging messages like `Synchronous replication key updated by someone else`.

It happened after Patroni was stuck due to resource starvation. Key updates are performed using create_revision/mod_revision field, which value is taken from the internal cached. Hence, it is a clear symptom of stale cache.

Similar issues in K8s implementation were addressed by invalidating the cache and restarting watcher connections every time when update failed due to resource_version mismatch, so we do the same for Etcd3.
2023-07-31 10:16:19 +02:00
..
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-26 12:33:17 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00
2023-07-31 09:08:46 +02:00