[JAVA-4082] SDAM error handling changes for load balanced clusters Created: 22/Mar/21  Updated: 28/Oct/23  Resolved: 12/May/21

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

Type: New Feature Priority: Major - P3
Reporter: Esha Bhargava Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Load Balancer Support: Sync
Quarter: FY22Q2

 Description   

For load balanced clusters, the driver must never mark servers as Unknown to avoid making the load balancer itself unselctable. Additionally, connection pool clears should only close connections that have the same serverId as the connection that encountered an error. The final change required is to add a ServerID field to PoolEvent and populate it with the server ID of the connection that errored in PoolCleared events.



 Comments   
Comment by Githook User [ 12/May/21 ]

Author:

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

Message: Support load-balanced mode (#698)

Support load-balanced mode in the synchronous driver. Reactive streams driver support to follow.

This is an implementation of the 1.0.0 version of the load balancer support specification published to https://github.com/mongodb/specifications/blob/master/source/load-balancers/load-balancers.rst.

JAVA-4078, JAVA-4079, JAVA-4080, JAVA-4081, JAVA-4082, JAVA-4083
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2c926dfdb349fa0ae67613a4b6ae9019c3ea2397

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