Correctly count bulk inserts in opcounters SERVER-3817
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user