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

Change hedgingMetrics.numTotalHedgedOperations increment to reflect definition in documentation

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: