Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61022

Provide a mechanism for mongobridge to proxy traffic from clients

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Service Arch 2021-11-01, Service Arch 2021-11-15, Service Arch 2021-11-22
    • 3

      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 

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: