diff options
author | Robert Guo <robert.guo@10gen.com> | 2016-04-12 17:47:30 -0400 |
---|---|---|
committer | Robert Guo <robert.guo@10gen.com> | 2016-04-29 16:07:43 -0400 |
commit | 1d58e42a8a2030d956c972dab20da9c9f01d61bf (patch) | |
tree | 05ab35edcb4dd5f30791261fa9ccee23132418a2 /src/mongo/db/storage/devnull | |
parent | 98dacf304edac746ffd4f1820c0065fbf9aec7e3 (diff) | |
download | mongo-1d58e42a8a2030d956c972dab20da9c9f01d61bf.tar.gz |
SERVER-23055 optimize perf of hashtable used by validate()
Diffstat (limited to 'src/mongo/db/storage/devnull')
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_kv_engine.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp index 3ff3ae5ce96..65a16414dcc 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp @@ -145,8 +145,7 @@ public: virtual void temp_cappedTruncateAfter(OperationContext* txn, RecordId end, bool inclusive) {} virtual Status validate(OperationContext* txn, - bool full, - bool scanData, + ValidateCmdLevel level, ValidateAdaptor* adaptor, ValidateResults* results, BSONObjBuilder* output) { @@ -209,7 +208,6 @@ public: } virtual void fullValidate(OperationContext* txn, - bool full, long long* numKeysOut, ValidateResults* fullResults) const {} |