[SERVER-61352] Write an integration test that tests our behavior when connecting to Mongos via proxy Created: 09/Nov/21  Updated: 06/Dec/22  Resolved: 21/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.7

Type: Improvement Priority: Major - P3
Reporter: Tyler Seip (Inactive) Assignee: Backlog - Service Architecture
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Assigned Teams:
Service Arch
Backport Requested:
v5.0
Sprint: Service Arch 2021-11-22, Service Arch 2021-12-13, Service Arch 2022-1-10
Participants:
Linked BF Score: 46
Story Points: 3

 Description   

Drivers already have some mechanisms for testing connections made to mongos over a load balancer (see here and here). We can reuse some of this infrastructure to test connections made over proxies to mongos in the server repo. We should test:

  • Connections made from a proxy to both the proxy and non-proxy port.
  • Connections made without a proxy to both the proxy and non-proxy port.
  • Potentially, performance when many connections are made over the proxy port.


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

Author:

{'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}

Message: SERVER-61352: Test connections made to mongos over proxy protocol

(cherry picked from commit 2f86d2a3a9c80a90fc8290b92df2b31a25f48889)
Branch: v5.0
https://github.com/mongodb/mongo/commit/5c32bf2de8c907b5996634dda70432be083431ff

Comment by Githook User [ 17/Mar/22 ]

Author:

{'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}

Message: SERVER-61352: Test connections made to mongos over proxy protocol

(cherry picked from commit 2f86d2a3a9c80a90fc8290b92df2b31a25f48889)
Branch: LB
https://github.com/mongodb/mongo/commit/df7cd59a8e1ef3dd6d6ece7b0a3c2853a3b5d564

Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}

Message: SERVER-61352: Test connections made to mongos over proxy protocol
Branch: master
https://github.com/mongodb/mongo/commit/2f86d2a3a9c80a90fc8290b92df2b31a25f48889

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