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

Recovery token is not tracked when running bulk writes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • 1.15.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: