[SERVER-34652] Write tests for transactions that write to a collection that is concurrently dropped Created: 24/Apr/18  Updated: 29/Oct/23  Resolved: 05/Jun/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.0.0, 4.1.1

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-34703 Write test for transactions with conc... Closed
related to SERVER-34704 Write test for transactions on collec... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18
Participants:
Story Points: 3

 Description   

We want to test the interaction between transactions and collection drops. We should test the following cases:

  1. A transaction writes to a collection on one session. On a separate session, that a drop is attempted on that collection. The collection drop should block until either the transaction commits or maxTimeMS expires. We should also test this for dropDatabase.
  2. Create collections A and B. Start a transaction T by reading from a collection A. In a separate session, drop collection B. Then try to write to collection B in transaction T. Verify that this write fails, since the collection was dropped.


 Comments   
Comment by Githook User [ 05/Jun/18 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-34652 SERVER-34654 SERVER-34703 SERVER-34704 Test transactions with concurrent DDL operations

(cherry picked from commit 14ffe1360e095d98da824bb63417672f3b171270)
Branch: v4.0
https://github.com/mongodb/mongo/commit/00c01f088742a70bd93843d0dac5900c64e97b98

Comment by Githook User [ 05/Jun/18 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-34652 SERVER-34654 SERVER-34703 SERVER-34704 Test transactions with concurrent DDL operations
Branch: master
https://github.com/mongodb/mongo/commit/14ffe1360e095d98da824bb63417672f3b171270

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