Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2502

Specify how drivers should handle server selection for bulk writes

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Bulk API
    • None

      It came up in a discussion around server selection logging that at least some drivers (Java, .NET) only perform server selection once for a bulk write, and that at least the Rust driver re-performs server selection for each batch. This doesn't seem to be covered in any spec right now; it would be good to formalize what the behavior should be in the new bulk spec.

      Reusing the server does save the driver some work; but on the flipside it makes it less likely the driver will send a command to a server that is no longer available and end up having to retry.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: