Recovery token is not tracked when running bulk writes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.15.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Clyde Bazile III (Inactive)
              Reporter:
              Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: