Change hedgingMetrics.numTotalHedgedOperations increment to reflect definition in documentation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • ALL
    • Service Arch 2023-01-23, Service Arch 2023-02-06, Service Arch 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, both async_rpc and NetworkInterfaceTL increment hedging metrics in a similar way. One of the metrics, numTotalHedgedOperations, is currently incremented once for each additional RPC sent for each hedged operation. The documentation describes numTotalHedgedOperations as "the number of all operations for which the mongos instance hedged the read operation." Fix the mismatch.

            Assignee:
            Alex Li
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: