Refactor async_rpc hedging code to share hedging determination with hedging_util

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: