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

Refactor async_rpc hedging code to share hedging determination with hedging_util

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2022-11-14, Service Arch 2022-11-28

      The async_rpc::sendHedgedCommand path currently makes an independent determination about whether to hedge and how many hosts to hedge with from hedging_util.h. We should refactor this code so it is shared between the two sites, with the eventual goal of removing hedging_util.h after the ARS is rewritten in SERVER-70191

      We should also ensure the semantics are identical.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: