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

Basic Support for operation hedging in NetworkInterfaceTL

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • Service Arch 2020-02-10, Sharding 2020-01-27, Service Arch 2020-02-24, Service Arch 2020-03-09

      Support operation hedging in NetworkInterfaceTL.

      Operation hedging should allow a request against a network interface to dispatch multiple overlapping requests to distinct nodes as part of the same logical operation. The first node to successfully respond, or to fail in a non-retriable way, should fulfill the operation and return the result to the caller.

      This is made up of a few parts:

      • Change the on heap representation of an in-flight operation (now encoded in the CommandState) to be capable of managing multiple in flight operations. My notion for a name is rename it ParallelCommandState, and have it own multiple CommandStates internally
      • Change startCommand, in the presence of hedge options, to perform that operation hedging

      The "basic" part of this ticket is that we can omit hooking into the functionality in PM-1372. For basic support it is sufficient to let those operations continue in the background

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: