Remove leader election, step 3: remove yielding of leadership; remove sending queries to leader.#11795
Conversation
An error in infamous "Sandbox" infrastructure. |
|
How does this affect zookeeper usage and performance? Currently we have ClickHouse in multiple datacenters, but we use the |
|
Also, do we have to upgrade all replicas to 20.5 at the same time? |
The setting remains and has the same effect.
No, it's 100% compatible. New versions can become leader if there is no old leader.
The number of request to ZooKeeper may increase but insignificantly in most configurations.
Merges should work in the same way. |
|
Thanks for the details! |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Remove leader election, step 3: remove yielding of leadership; remove sending queries to leader.
Remove leader election:
step 1: update and check version of "log" node #11637
step 2: allow multiple leaders #11639
step 3: remove yielding of leadership; remove sending queries to leader. #11795