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

Bulk writes that undergo a retryable write will not use the newly selected server on later commands

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0
    • Affects Version/s: None
    • Component/s: Bulk API, libmongoc
    • None

      If a bulk write undergoes a retryable write, we select the new server here.

      However, the bulk operation loop is not made aware of that newly selected server, and reuses the original server id. If that server has stepped down, than it's likely we'll fail the subsequent commands for the same reason (causing another retryable write).

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: