[SERVER-34349] Wait for drop to be majority committed in transaction tests Created: 05/Apr/18  Updated: 29/Oct/23  Resolved: 09/Apr/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.7.4

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

Issue Links:
Depends
Related
related to SERVER-35919 Ensure all tests that "use transactio... Closed
related to PHPC-1244 Use majority WC to drop/create collec... Closed
related to PHPLIB-377 Use majority WC to drop/create collec... Closed
related to SERVER-34452 Wait for 2-phase drop to finish in tr... Closed
is related to SERVER-34372 Drop collection command with majority... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2018-04-23
Participants:
Linked BF Score: 13

 Description   

Collection 2-phase drop needs the DB lock in X mode which will block or abort the transactions, so we need to wait for them to be majority committed.



 Comments   
Comment by Githook User [ 09/Apr/18 ]

Author:

{'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}

Message: SERVER-34349 Wait for drop to be majority committed in transaction tests
Branch: master
https://github.com/mongodb/mongo/commit/322f89e07af85e3f61d42fa97b09a89830054915

Comment by Siyuan Zhou [ 09/Apr/18 ]

We only wait for the 2-phase drop to be majority committed. It will narrow the likelihood of the failure temporarily, and eliminate it once SERVER-34372 is done.

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