summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2016-03-14 15:00:20 -0400
committerJames Wahlin <james.wahlin@10gen.com>2016-03-18 08:49:20 -0400
commit7e8d5536f8a94fc5fd74b3b2027a9d045929117c (patch)
tree3358b176ba2255a4c4ad6e7d163f984ffb490d57 /src/mongo/db/curop.h
parent0ff97139df609ae1847da9bfb25c35d209e0936e (diff)
downloadmongo-7e8d5536f8a94fc5fd74b3b2027a9d045929117c.tar.gz
SERVER-17862 Log keyUpdates & writeConflicts only when meaningful
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 7e57c80e0dc..2b79b888e0e 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -186,7 +186,7 @@ public:
bool upsert{false}; // true if the update actually did an insert
bool cursorExhausted{
false}; // true if the cursor has been closed at end a find/getMore operation
- int keyUpdates{0};
+ int keyUpdates{-1};
long long writeConflicts{0};
// New Query Framework debugging/profiling info