[SERVER-69732] Make resumable_index_build_drain_writes_phase_secondary.js more robust to PrimarySteppedDown errors Created: 15/Sep/22 Updated: 29/Oct/23 Resolved: 28/Oct/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Pavithra Vetriselvan | Assignee: | Pavithra Vetriselvan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Execution Team 2022-10-17, Execution Team 2022-10-31 | ||||
| Participants: | |||||
| Linked BF Score: | 5 | ||||
| Description |
|
There are two things we can do to improve the robustness of this test. Since it does not expect the primary to step down, we should increase the election timeout to prevent any flip flopping. Additionally, the index_build.js library allows InterruptedDueToReplStateChange errors on the primary while building an index and waiting for a majority. It should also allow PrimarySteppedDown errors since those result in the same behavior. |
| Comments |
| Comment by Githook User [ 27/Oct/22 ] |
|
Author: {'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}Message: |