[JAVA-5048] ConnectionString retryReads is not applied Created: 01/Jul/23  Updated: 28/Oct/23  Resolved: 11/Jul/23

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: None
Fix Version/s: 4.10.2

Type: Bug Priority: Minor - P4
Reporter: Valentin Kavalenka Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

MongoClientSettings.applyConnectionString does not read ConnectionString.getRetryReads and does not apply it.



 Comments   
Comment by Githook User [ 11/Jul/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Fix: MongoClientSettings.applyConnectionString retryReads bug

Ensure that retryReads is copied.

JAVA-5048
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/674d1a9a618221257877b8bb8b9e4986556624c6

Generated at Thu Feb 08 09:03:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.