-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.15.0
-
Component/s: None
-
None
The recovery token used for sharded transactions is tracked in mongoc_cluster_run_command_monitored, but this function isn't called when executing a bulk write. Recovery token tracking also needs to happen in _mongoc_write_command_execute.
Note: I haven't checked whether other places need to track a recovery token, I merely found this instance because the PHP driver uses bulk writes even for single inserts, which caused our spec tests to fail due to the missing token.
- is depended on by
-
PHPC-1290 Support mongos pinning for sharded transactions
- Closed