[JAVA-4079] SDAM and connection establishment changes for load balancers 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   

When a driver is connected to a load balanced cluster:

The monitor should not be started. Instead, the topology should be started with a new "LoadBalanced" type and should contain a single server of type "LoadBalancer".
A pre-defined set of SDAM events must be published
Connection handshakes must send loadBalanced=true and record the serverID field in the server response
Connection handshakes must error if the server is not behind a load balancer



 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.