[SERVER-45078] Ignore the “term” field in configs provided in replSetReconfig command Created: 12/Dec/19 Updated: 29/Oct/23 Resolved: 21/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | safe-reconfig-consensus | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2019-12-30, Repl 2020-01-13, Repl 2020-01-27 |
| Participants: |
| Comments |
| Comment by Githook User [ 21/Jan/20 ] |
|
Author: {'email': 'pavithra.vetriselvan@mongodb.com', 'name': 'Pavithra Vetriselvan', 'username': 'pvselvan'}Message: |
| Comment by Pavithra Vetriselvan [ 18/Dec/19 ] |
|
william.schultz mentioned that it might be worth refactoring the ReplSetConfig::_initialize function to take an explicit "term" that overrides any value given in the BSON config object (since we ignore user given terms during reconfig anyway). We can then pass the term from the initiate and reconfig code paths. |