[SERVER-40028] IdempotencyTest::validate() should wait for index builds to complete Created: 07/Mar/19  Updated: 29/Oct/23  Resolved: 08/Mar/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.9

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 31

 Description   

Before SERVER-39085, IdempotencyTest::validate() would rely on the locking behavior in IndexBuilder to ensure that background indexes have been built before proceeding to validate the collection contents. With the new IndexBuildsCoordinator enabled for secondary epilog application, this is no longer sufficient.



 Comments   
Comment by Githook User [ 08/Mar/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-40028 IdempotencyTest::validate() waits for index builds to complete
Branch: master
https://github.com/mongodb/mongo/commit/ed8fa38679c5f2474cb4e74a88b35710c57089af

Comment by Githook User [ 08/Mar/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-40028 fix use-after-free error in IndexBuildsCoordinator::awaitNoBgOpInProgForNs()
Branch: master
https://github.com/mongodb/mongo/commit/ed5afe6c16b993159e8cf051a93af3ab2aa09a07

Comment by Githook User [ 08/Mar/19 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-40028 fix getCollectionUUID() in index_builds_coordinator.cpp to handle missing collection
Branch: master
https://github.com/mongodb/mongo/commit/f9126ffa0f8d48e6cd5b22ed75f0a044bcfc81df

Generated at Thu Feb 08 04:53:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.