[SERVER-52641] indexbg_restart_secondary.js should wait for all three index builds to start before restarting the secondary Created: 05/Nov/20  Updated: 29/Oct/23  Resolved: 10/Dec/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.4.16

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
related to SERVER-51699 index_build_restart_secondary.js (ind... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-12-14
Participants:
Linked BF Score: 19

 Description   

The test should wait for all three indexes to start being restarting the secondary, so that they are necessarily all restarted during startup recovery. Otherwise, if they did not actually start before shutdown, they may not have started by the time assertIndexes() is called.



 Comments   
Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-52641 Wait for all three index builds to start before restarting the secondary in index_build_restart_secondary.js

(cherry picked from commit 6d0b5b3ea630ba6b69597e7f0c670cf2e80e4265)
(cherry picked from commit f8af526ef229defb64664ca3455524554b52ece4)
Branch: v4.4
https://github.com/mongodb/mongo/commit/17529e0c8745b51facb5226000cd08673cbe3f39

Comment by Githook User [ 10/Dec/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-52641 Assert indexes until it completes successfully in index_build_restart_secondary.js
Branch: master
https://github.com/mongodb/mongo/commit/f8af526ef229defb64664ca3455524554b52ece4

Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-52641 Wait for all three index builds to start before restarting the secondary in index_build_restart_secondary.js
Branch: master
https://github.com/mongodb/mongo/commit/6d0b5b3ea630ba6b69597e7f0c670cf2e80e4265

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