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

Change hedgingMetrics.numTotalHedgedOperations increment to reflect definition in documentation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Service Arch
    • Fully Compatible
    • ALL
    • Service Arch 2023-01-23, Service Arch 2023-02-06, Service Arch 2023-02-20

    Description

      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.

      Attachments

        Activity

          People

            alex.li@mongodb.com Alex Li
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: