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

findAndModify not counted properly in opcounters

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 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

      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 Unassigned
            Reporter:
            johng John Greenall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: