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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.16.0
    • Affects Version/s: None
    • Component/s: Bulk API, libmongoc
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: