-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
v4.0
-
Repl 2018-05-21, Repl 2018-06-04, Repl 2018-06-18
-
3
We want to verify that transactions interact with collection creation operations correctly. To verify this, we should test the following case:
- A transaction writes to a collection C that doesn't exist. In a different session, collection C is then created. Verify that the transaction can then write to collection C and commit.
- A transactions writes to a collection C that exists. A client in a different session that tries to create C should fail.
*Note: when writing these test cases, we should verify any behavior that differs from what is described above and make sure it matches the desired/expected behavior.