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

Only increment numTotalOperations once for each command run on the mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • ALL
    • Sharding 2020-03-23
    • 39

    Description

      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. 

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: