Count ops attempted in write commands in mongos and mongod

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.5.3
    • Component/s: None
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It is inconsistent about what ops we count. It's not clear whether the count is of ops attempted or ops succeeded. Insert is ops-succeeded, but update is ops-attempted. The counts are inconsistent between mongod and mongos too. The current spec is described in opcounters.js.

      We should always record any ops attempted, since that's really the measure of load you care about.

            Assignee:
            Siyuan Zhou
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: