Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3325

Recovery token is not tracked when running bulk writes

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 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.

            Assignee:
            clyde.bazile@mongodb.com Clyde Bazile III (Inactive)
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: