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

Investigate feasibility of pinning a cursor's connection in TaskExecutorCursor

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • Service Arch 2022-2-21, Service Arch 2022-03-07
    • 2

      It may become required that connections between mongod and mongot are routed through an L4 load balancer.

      We must ensure that getMores on cursors established by the search command are routed the same mongot that the initial search command was run against, and a sensible solution for this is to pin a cursor to the connection it initially used.

      The current behavior of TaskExecutorCursor (which mongod uses to talk to mongot) appears to be that it acquires an arbitrary connection from its pool.

      It would be helpful to know the level of work that would be required to change this to pinning the cursor. 

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            kevin.rosendahl@mongodb.com Kevin Rosendahl
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: