[GODRIVER-1895] SDAM and connection establishment changes for load balancers Created: 24/Feb/21  Updated: 28/Oct/23  Resolved: 08/Mar/21

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.0

Type: New Feature Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Load Balancer Support
Quarter: FY22Q2

 Description   

When a driver is connected to a load balanced cluster:

  1. 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".
  2. A pre-defined set of SDAM events must be published
  3. Connection handshakes must send loadBalanced=true and record the serverID field in the server response
  4. Connection handshakes must error if the server is not behind a load balancer


 Comments   
Comment by Githook User [ 08/Mar/21 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: GODRIVER-1895 SDAM, server selection, and handshake changes for LB mode (#597)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/1dd5e99ea66f455c527095b167ff2cf9025b9ff3

Comment by Divjot Arora (Inactive) [ 03/Mar/21 ]

PR: https://github.com/mongodb/mongo-go-driver/pull/597. As mentioned in the PR description, the code changes are stacked on top of the changes for GODRIVER-1894, so reviewing will be blocked until the dependent ticket is closed.

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