Remove leader election, step 2: allow multiple leaders#11639
Remove leader election, step 2: allow multiple leaders#11639alexey-milovidov merged 24 commits intomasterfrom
Conversation
|
TODO: cleanupThread. |
|
TODO: support downgrade scenario. |
79a0168 to
34aa13c
Compare
34aa13c to
18f8861
Compare
Done. |
Done. |
|
Build check:
|
|
I have found that the new behaviour in test Old behaviour: insert_quorum = 2 create table on replica 0 and 1 New behaviour: insert_quorum = 2 create table on replica 0 and 1 |
…se into remove-leader-election-2
|
Build check:
|
|
Build check:
It started to be annoying. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Allow multiple replicas to assign merges, mutations, partition drop, move and replace concurrently. This closes #10367.
Includes #11637 and #11633.
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