diff options
author | Benety Goh <benety@mongodb.com> | 2016-04-21 14:31:09 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-04-21 14:31:09 -0400 |
commit | 0bd67d53681e4826a44f2b45b136f50cd36de44b (patch) | |
tree | 6de928d1480421d36774bc1061fde8942c80f3f1 /src/mongo/db/exec/delete.cpp | |
parent | 42415534834c82518dfdb4c75c3b22b75edb5eff (diff) | |
download | mongo-0bd67d53681e4826a44f2b45b136f50cd36de44b.tar.gz |
Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops"
This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901.
Diffstat (limited to 'src/mongo/db/exec/delete.cpp')
-rw-r--r-- | src/mongo/db/exec/delete.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/exec/delete.cpp b/src/mongo/db/exec/delete.cpp index e1e88a3333a..0e9d7d28fa0 100644 --- a/src/mongo/db/exec/delete.cpp +++ b/src/mongo/db/exec/delete.cpp @@ -34,7 +34,6 @@ #include "mongo/db/catalog/collection.h" #include "mongo/db/concurrency/write_conflict_exception.h" -#include "mongo/db/curop.h" #include "mongo/db/exec/scoped_timer.h" #include "mongo/db/exec/working_set_common.h" #include "mongo/db/exec/write_stage_common.h" @@ -215,7 +214,7 @@ PlanStage::StageState DeleteStage::doWork(WorkingSetID* out) { if (!_params.isExplain) { try { WriteUnitOfWork wunit(getOpCtx()); - _collection->deleteDocument(getOpCtx(), recordId, _params.opDebug, _params.fromMigrate); + _collection->deleteDocument(getOpCtx(), recordId, _params.fromMigrate); wunit.commit(); } catch (const WriteConflictException& wce) { memberFreer.Dismiss(); // Keep this member around so we can retry deleting it. |