[DRIVERS-2502] Specify how drivers should handle server selection for bulk writes Created: 16/Nov/22  Updated: 11/Jan/23

Status: Backlog
Project: Drivers
Component/s: Bulk API
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improved Bulk Write API
Driver Changes: Needed

 Description   

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.


Generated at Thu Feb 08 08:25:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.