diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-06-18 16:25:13 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-06-21 20:35:00 -0400 |
commit | d4b054976ab484cce590feee49f284c540ce8bc3 (patch) | |
tree | e4896391b2254a6acd1c4c2fab5588f8414f62b8 /src/mongo/db/catalog/collection_compact.h | |
parent | 45dc520352849b4b1c958e11f5cec322fb67e8f2 (diff) | |
download | mongo-d4b054976ab484cce590feee49f284c540ce8bc3.tar.gz |
SERVER-16413 Storage engines that allow online compaction should not take an exclusive lock
Diffstat (limited to 'src/mongo/db/catalog/collection_compact.h')
-rw-r--r-- | src/mongo/db/catalog/collection_compact.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/collection_compact.h b/src/mongo/db/catalog/collection_compact.h index b17b0ec3886..a3aefc1833e 100644 --- a/src/mongo/db/catalog/collection_compact.h +++ b/src/mongo/db/catalog/collection_compact.h @@ -30,7 +30,6 @@ #pragma once #include "mongo/base/status_with.h" -#include "mongo/db/catalog/collection.h" #include "mongo/db/storage/record_store.h" namespace mongo { @@ -40,7 +39,7 @@ namespace mongo { * See record_store.h for CompactStats and CompactOptions definitions. */ StatusWith<CompactStats> compactCollection(OperationContext* opCtx, - Collection* collection, + const NamespaceString& collectionNss, const CompactOptions* options); } // namespace mongo |