Correctly count bulk inserts in opcounters SERVER-3817

This commit is contained in:
Mathias Stearn
2011-09-12 16:37:53 -04:00
parent 3c7cb7922e
commit 43cff65e66

View File

@@ -606,6 +606,8 @@ namespace mongo {
break;
js = d.nextJsObj(); // TODO: refactor to do objcheck outside of writelock
}
globalOpCounters.incInsertInWriteLock(n);
}
void receivedInsert(Message& m, CurOp& op) {