mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 16:40:35 +00:00
... `writes_coordinator_outside_replica_set`' from Juliusz Stasiewicz With this change, coordinator prefers himself as the "counter leader", so if another endpoint is chosen as the leader, we know that coordinator was not a member of replica set. With this guarantee we can increment `scylla_storage_proxy_coordinator_writes_coordinator_outside_replica_set` metric after electing different leader (that metric used to neglect the counter updates). The motivation for this change is to have more reliable way of counting non-token-aware queries. Fixes #4337 Closes #8282 * github.com:scylladb/scylla: storage_proxy: Include counter writes in `writes_coordinator_outside_replica_set` counters: Favor coordinator as leader