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

Investigate feasibility of pinning a cursor's connection in TaskExecutorCursor

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • Service Arch 2022-2-21, Service Arch 2022-03-07
    • 2

    Description

      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. 

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            kevin.rosendahl@mongodb.com Kevin Rosendahl
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: