-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
By upgrading libmongoc to 1.15-dev, retryable writes may now be enabled by default. Retryable writes are not compatible with writes to an unreplicated collection, which leads to failures in tests that write to the local collection:
- tests/replicaset/manager-selectserver-001.phpt
- tests/replicaset/writeresult-getserver-002.phpt
- tests/server/server-executeBulkWrite-005.phpt
If possible, these tests should be changed to use a regular collection. Otherwise, we should either skip them if retryable writes is enabled or force retryWrites to false when constructing the Manager object.
- is related to
-
PHPC-1324 Support Retryable Writes on by Default
- Closed
-
PHPC-1369 Upgrade libmongoc to 1.15.0
- Closed
-
DRIVERS-2141 Prohibit retryable writes for write commands targeting unreplicated local collection
- Backlog
- related to
-
PHPC-1413 Fix test failures executing insert on secondary
- Closed