[SERVER-61022] Provide a mechanism for mongobridge to proxy traffic from clients Created: 26/Oct/21  Updated: 06/Dec/22

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

Type: Improvement Priority: Minor - P4
Reporter: George Wangensteen Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Sprint: Service Arch 2021-11-01, Service Arch 2021-11-15, Service Arch 2021-11-22
Participants:
Story Points: 3

 Description   

Right now, mongobridge and its javascript helpers allows it only to effectively manage traffic between mongodb server processes. We sometimes want to test scenarios where we want to manage connections between clients (i.e. mongo shell), like ensuring that servers handle situations correctly even when clients are unable to properly "hang-up" their connections. this ticket tracks instrumenting mongobridge to allow it to manage those connections and make that kind of testing easier. 

 

To do so we should just:

--> change the mongobridge host-identification protocol to allow processes to identify themselves exactly once to mongobridge with any hello cmd they send, not just the first. This way clients can identify themselves as proxyable  hosts.

--> add helper to the js mongobridge object to make use of this new ability + let these bridges can manage messages from hosts directly 


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