[SERVER-58562] Add a boolean field _isFromLoadBalancer to Client Created: 14/Jul/21  Updated: 17/Mar/22  Resolved: 19/Aug/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0, 5.0.7

Type: Task Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Alex Li
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-58496 Detect connections made via the Proxy... Closed
is depended on by SERVER-58503 Kill open cursors for a connection wh... Closed
is depended on by SERVER-58505 Add metric to serverStatus for number... Closed
Related
related to SERVER-58502 Change the hello command on mongos to... Closed
Backport Requested:
v5.0
Sprint: Service Arch 2021-08-23, Service Arch 2021-09-06
Participants:
Story Points: 3

 Description   
  • Add a boolean member _isFromLoadBalancer to the Client class
  • Add a member function isFromLoadBalancer()
  • Add a failpoint pretendAllConnectionsAreFromLoadBalancer that makes isFromLoadBalancer() always return true


 Comments   
Comment by Githook User [ 17/Mar/22 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}

Message: SERVER-58562 Add a boolean field _isFromLoadBalancer to Client

(cherry picked from commit d445de47d65a66c0fa228aba426d821676e98d2e)
Branch: LB
https://github.com/mongodb/mongo/commit/7caab91db5dfe818fda977f4c6b4331fd1435841

Comment by Githook User [ 11/Mar/22 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}

Message: SERVER-58562 Add a boolean field _isFromLoadBalancer to Client

(cherry picked from commit d445de47d65a66c0fa228aba426d821676e98d2e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/d214c55e047f55c3c7e771d13708028d512523e5

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 19/Aug/21 ]

Author:

{'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}

Message: SERVER-58562 Add a boolean field _isFromLoadBalancer to Client
Branch: master
https://github.com/mongodb/mongo/commit/d445de47d65a66c0fa228aba426d821676e98d2e

Generated at Thu Feb 08 05:44:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.