findAndModify not counted properly in opcounters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.5.4
    • Component/s: None
    • None
    • ALL
    • Hide

      run db.serverStatus();

      run a findAndModify command

      run db.serverStatus();

      note that the # of updates in the opcounter has not changed

      Show
      run db.serverStatus(); run a findAndModify command run db.serverStatus(); note that the # of updates in the opcounter has not changed
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am doing some performance testing at the moment and find the opcounters very useful. I find it very strange that a findAndModify is not counted as an update. Is this desired behaviour?

              Assignee:
              Unassigned
              Reporter:
              John Greenall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: