Only increment numTotalOperations once for each command run on the mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • ALL
    • Sharding 2020-03-23
    • 39
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      numTotalOperations is meant to be a count of all operations that could be hedged. That is, it should incremented exactly once for each command run on the mongos (i.e. the expected numTotalOperations should be 1). It looks like this spec was misinterpreted in SERVER-46566. numTotalOperations should be incremented at the beginning of startCommand. 

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: