-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.5.0
-
Component/s: None
-
None
When creating or dropping a collection immediately before starting a transaction, if the collection is accessed within the transaction, issue the create or drop operation with write concern "majority" to ensure that the transaction can acquire the required locks.
This is already done in the drop_collection() utility function (added for PHPC-1140), but we should make sure any other drop/create commands in transaction tests also use a majority write concern.
- is related to
-
SERVER-34349 Wait for drop to be majority committed in transaction tests
- Closed
-
SERVER-35919 Ensure all tests that "use transactions" perform collection drops with w:majority
- Closed
-
PHPLIB-377 Use majority WC to drop/create collections for transaction tests
- Closed