[SERVER-60427] Investigate effectiveness of test jstests/replsets/rollback_waits_for_bgindex_completion.js Created: 04/Oct/21  Updated: 04/Oct/21  Resolved: 04/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0 Desired
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Adi Zaimi Assignee: Adi Zaimi
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-60428 Investigate effectiveness of test jst... Closed
Operating System: ALL
Participants:

 Description   

Test jstests/replsets/rollback_waits_for_bgindex_completion.js runs an index build in the background while a transaction is waiting to be committed, leader steps down, and rollsback the txn. Test verifies that rollback should wait for the index build to be aborted but it seems from the logs that there is no wait happening--rollback proceeds immediately because abort of index build has occurred earlier. We should investigate if the current behavior makes for a correct test, and possibly introduce a delay in aborting the index build so rollback effectively waits for it.

Please refer to ticket https://jira.mongodb.org/browse/SERVER-59687 for more information.



 Comments   
Comment by Adi Zaimi [ 04/Oct/21 ]

dup of https://jira.mongodb.org/browse/SERVER-60428

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