[SERVER-45085] Check Config Replication condition on reconfig Created: 12/Dec/19 Updated: 29/Oct/23 Resolved: 28/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | safe-reconfig-cmd | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Repl 2020-01-27, Repl 2020-02-10, Repl 2020-02-24, Repl 2020-03-09 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Config Replication condition checks the config C_i is replicated to a majority of data-bearing voting nodes in C_i in the primary’s term. Config Replication condition check in reconfig step 1 checks the config terms and version received via heartbeats in memberData. Waiting for _Config Replication in step 4 can either run Config Replication condition check with a ScatterGatherRunner in a loop or let replication coordinator signal it on receiving heartbeat responses. |
| Comments |
| Comment by Githook User [ 27/Feb/20 ] |
|
Author: {'name': 'Pavithra Vetriselvan', 'username': 'pvselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: |
| Comment by Githook User [ 27/Feb/20 ] |
|
Author: {'username': 'pvselvan', 'name': 'Pavithra Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: |
| Comment by Pavithra Vetriselvan [ 27/Feb/20 ] |
|
Code review url: https://mongodbcr.appspot.com/579930001/ |
| Comment by Githook User [ 25/Feb/20 ] |
|
Author: {'name': 'Pavithra Vetriselvan', 'username': 'pvselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: |
| Comment by Githook User [ 24/Feb/20 ] |
|
Author: {'name': 'Pavithra Vetriselvan', 'username': 'pvselvan', 'email': 'pavithra.vetriselvan@mongodb.com'}Message: |
| Comment by Siyuan Zhou [ 16/Dec/19 ] |
|
As daniel.hatcher suggested, we need to return the detailed reasons when a safe reconfig fails. |