[SERVER-45088] Test safe reconfig avoids diverging configs Created: 12/Dec/19  Updated: 29/Oct/23  Resolved: 26/Mar/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc1, 4.7.0

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Ali Mir
Resolution: Fixed Votes: 0
Labels: safe-reconfig-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-45096 Test safe reconfig never rolls back e... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Repl 2020-02-24, Repl 2020-03-09, Repl 2020-03-23, Repl 2020-04-06
Participants:

 Description   

Targeted unit tests for known cases that break the existing protocol:

  • Diverging configs (fixed by Config Replication)
    • In a 4 node set, test that a new reconfig is not allowed to succeed until a majority of the nodes have learned of the latest config.
    • Configs with lower terms should not propagate. Test nodes with a higher config term should not accept configs with a lower term.


 Comments   
Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-45088 Simplify safe reconfig avoids diverging configs test

(cherry picked from commit 98299f2f7eb295361cee2aea4dc03b952483d715)
Branch: v4.4
https://github.com/mongodb/mongo/commit/6ba8fb61e5f323d0211b39c74aded5df86bbba83

Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-45088 Test safe reconfig avoids diverging configs

(cherry picked from commit 980acca9877377d9de08f82f6e36280085661805)
Branch: v4.4
https://github.com/mongodb/mongo/commit/d3c55652b6cab504ad7acf32b16298809ac9f5e6

Comment by Githook User [ 26/Mar/20 ]

Author:

{'email': 'ali.mir@mongodb.com', 'name': 'Ali Mir', 'username': 'ali-mir'}

Message: SERVER-45088 Simplify safe reconfig avoids diverging configs test
Branch: master
https://github.com/mongodb/mongo/commit/98299f2f7eb295361cee2aea4dc03b952483d715

Comment by Githook User [ 17/Mar/20 ]

Author:

{'name': 'Ali Mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-45088 Test safe reconfig avoids diverging configs
Branch: master
https://github.com/mongodb/mongo/commit/980acca9877377d9de08f82f6e36280085661805

Generated at Thu Feb 08 05:07:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.