[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: |
|
||||||||||||||||||||||||||||
| 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: |
| 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 |