[JAVA-3309] Driver will not send writes on a direct connection to a secondary Created: 07/Jun/19  Updated: 28/Oct/23  Resolved: 14/Jun/19

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: 3.11.0

Type: Bug Priority: Minor - P4
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The server selection spec states:

The single server is always suitable for write operations if it is available

but the Java driver will not select a secondary when in direct mode.  This is an important use case for applications than want to write to the "local" database.



 Comments   
Comment by Githook User [ 14/Jun/19 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}

Message: Allow writes to any server when in direct connection mode

JAVA-3309
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/57a7b4baa57e2018690aefce1a35bdbee7eae50a

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