[SERVER-57251] Fix checkLog race in salvage_incomplete_rolling_index_builds.js Created: 27/May/21  Updated: 29/Oct/23  Resolved: 27/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.7, 5.0.0-rc1, 5.1.0-rc0

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4
Sprint: Execution Team 2021-05-31
Participants:
Linked BF Score: 35

 Description   

The test looks for log number 3856203 which can appear 1-2 times, depending on the interleaving of the first index created. If 3856203 happens to print during the first index build, we might not have a drain phase on the second index build based on how the test is set up. To fix this, we should just avoid building the first index as it doesn't have any significance in this test scenario.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 31/May/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57251 Only run salvage_incomplete_rolling_index_builds.js on variants with two-phase index builds enabled
Branch: v4.4
https://github.com/mongodb/mongo/commit/94c7512afa2ef51609202d68324624356fa06b5d

Comment by Githook User [ 27/May/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57251 Fix checkLog race in salvage_incomplete_rolling_index_builds.js

(cherry picked from commit 9f6452280f551efe30c1144ceb9c1028711ea79f)
Branch: v5.0
https://github.com/mongodb/mongo/commit/423caec27e13f061eb3238edb3ddaf8d6dd70376

Comment by Githook User [ 27/May/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57251 Fix checkLog race in salvage_incomplete_rolling_index_builds.js

(cherry picked from commit 9f6452280f551efe30c1144ceb9c1028711ea79f)
Branch: v4.4
https://github.com/mongodb/mongo/commit/1c33fbeb3c93bc71d8da370755b5bdd22d60fd8a

Comment by Githook User [ 27/May/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57251 Fix checkLog race in salvage_incomplete_rolling_index_builds.js
Branch: master
https://github.com/mongodb/mongo/commit/9f6452280f551efe30c1144ceb9c1028711ea79f

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