diff options
Diffstat (limited to 'db/instance.cpp')
-rw-r--r-- | db/instance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/instance.cpp b/db/instance.cpp index 764571d..1d5d589 100644 --- a/db/instance.cpp +++ b/db/instance.cpp @@ -605,6 +605,8 @@ namespace mongo { break; js = d.nextJsObj(); // TODO: refactor to do objcheck outside of writelock } + + globalOpCounters.incInsertInWriteLock(n); } void receivedInsert(Message& m, CurOp& op) { |