diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-04-21 15:55:32 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-04-21 16:48:06 -0400 |
commit | dc3d30af10b6859124d1ce8790ad8e097d1f06c7 (patch) | |
tree | 4cf90aec523a535c5974007a08fcc95e0f8528bb /src/mongo/dbtests/query_stage_sort.cpp | |
parent | 1a371955e7a93f846a5ddddb19f33d6b270a3991 (diff) | |
download | mongo-dc3d30af10b6859124d1ce8790ad8e097d1f06c7.tar.gz |
SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops
Diffstat (limited to 'src/mongo/dbtests/query_stage_sort.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_sort.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/dbtests/query_stage_sort.cpp b/src/mongo/dbtests/query_stage_sort.cpp index 676da68abcd..fabf10ba05b 100644 --- a/src/mongo/dbtests/query_stage_sort.cpp +++ b/src/mongo/dbtests/query_stage_sort.cpp @@ -459,10 +459,11 @@ public: // We should have read in the first 'firstRead' recordIds. Invalidate the first. exec->saveState(); + OpDebug* const nullOpDebug = nullptr; set<RecordId>::iterator it = recordIds.begin(); { WriteUnitOfWork wuow(&_txn); - coll->deleteDocument(&_txn, *it++); + coll->deleteDocument(&_txn, *it++, nullOpDebug); wuow.commit(); } exec->restoreState(); @@ -478,7 +479,7 @@ public: while (it != recordIds.end()) { { WriteUnitOfWork wuow(&_txn); - coll->deleteDocument(&_txn, *it++); + coll->deleteDocument(&_txn, *it++, nullOpDebug); wuow.commit(); } } |