[SERVER-72774] A node in quiesce mode can win election Created: 12/Jan/23 Updated: 29/Oct/23 Resolved: 10/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 5.0.14 |
| Fix Version/s: | 7.0.0-rc0, 5.0.16, 6.0.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dmitry Ryabtsev | Assignee: | Wenbin Zhu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | repl-shortlist | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Replication
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v6.3, v6.2, v6.0, v5.0, v4.4
|
||||||||||||
| Sprint: | Repl 2023-02-06, Repl 2023-02-20 | ||||||||||||
| Participants: | |||||||||||||
| Case: | (copied to CRM) | ||||||||||||
| Description |
|
A replica set member being in quiesce mode can end up winning an election:
However, being in that mode will not allow the peers to sync from the newly elected primary:
This can lead to oplog divergion and, later, a rollback when the shutdown node is restarted to rejoin the replica set. |
| Comments |
| Comment by Githook User [ 25/Mar/23 ] |
|
Author: {'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}Message: (cherry picked from commit 6b19e54d461bab075ade6e3e05767a881ee37597) |
| Comment by Githook User [ 24/Mar/23 ] |
|
Author: {'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}Message: (cherry picked from commit 6b19e54d461bab075ade6e3e05767a881ee37597) |
| Comment by Githook User [ 10/Feb/23 ] |
|
Author: {'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}Message: |