[SERVER-85690] Wait for stepdown to finish before continuing index build in index_build_unregisters_after_stepdown.js Created: 24/Jan/24 Updated: 26/Jan/24 Resolved: 26/Jan/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shin Yee Tan | Assignee: | Shin Yee Tan |
| 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: |
v7.3, v7.2, v7.0
|
||||||||
| Sprint: | Execution Team 2024-02-05 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 5 | ||||||||
| Description |
|
In index_build_unregisters_after_stepdown.js, we force a stepdown and quickly attempt to run createIndex after. If the shell has not been updated with the new topology info with the new primary, we may run into a "NotWritablePrimary" error. |
| Comments |
| Comment by Githook User [ 26/Jan/24 ] |
|
Author: {'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}Message: GitOrigin-RevId: 91a00c70f933cef33d3a5db91dc91c10a67a5ab8 |