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

Basic Support for operation hedging in NetworkInterfaceTL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.4
    • Networking
    • None
    • Fully Compatible
    • Service Arch 2020-02-10, Sharding 2020-01-27, Service Arch 2020-02-24, Service Arch 2020-03-09

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              misha.tyulenev@mongodb.com Misha Tyulenev
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: