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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.16.0
    • None
    • Bulk API, libmongoc
    • None

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: