[SERVER-62380] Wait for majority commit point to be advanced on each node before starting rollback test in rollback_set_fcv.js Created: 05/Jan/22 Updated: 29/Oct/23 Resolved: 06/Jan/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.0.6, 5.2.1, 4.4.13 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Huayu Ouyang | Assignee: | Huayu Ouyang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.2, v5.1, v5.0, v4.4
|
||||||||
| Sprint: | Replication 2022-01-10 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 34 | ||||||||
| Description |
|
We should call awaitLastOpCommitted after setting the FCV but before starting the rollback test. This is because after setting the FCV, the secondary might not have updated its knowledge of the majority commit point through heartbeats before it is isolated from the set, so its lastFCVUpdateTimestamp will be after the majority commit point, which will cause checking the FCV to hang |
| Comments |
| Comment by Githook User [ 20/Jan/22 ] |
|
Author: {'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}Message: (cherry picked from commit d9f48866389096561f9d2582de141e068928f1d6) |
| Comment by Githook User [ 20/Jan/22 ] |
|
Author: {'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}Message: (cherry picked from commit d9f48866389096561f9d2582de141e068928f1d6) |
| Comment by Githook User [ 20/Jan/22 ] |
|
Author: {'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}Message: (cherry picked from commit d9f48866389096561f9d2582de141e068928f1d6) |
| Comment by Githook User [ 06/Jan/22 ] |
|
Author: {'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}Message: |