summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.cpp
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2019-06-03 17:05:21 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2019-06-05 19:02:51 -0400
commit50b2da21b8809375b214b085abc0e0d164da4215 (patch)
tree8eea812baec290e2ddc86e863215320e5eeed7eb /src/mongo/db/catalog/collection_impl.cpp
parent661588a68066dcef3f7f3fea0af37ecebb23594a (diff)
downloadmongo-50b2da21b8809375b214b085abc0e0d164da4215.tar.gz
SERVER-41478 Take initialization of index catalog out of collection constructor
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.cpp')
-rw-r--r--src/mongo/db/catalog/collection_impl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/collection_impl.cpp b/src/mongo/db/catalog/collection_impl.cpp
index 47bb4d226d0..d9cdc0a57dd 100644
--- a/src/mongo/db/catalog/collection_impl.cpp
+++ b/src/mongo/db/catalog/collection_impl.cpp
@@ -215,11 +215,8 @@ CollectionImpl::CollectionImpl(OperationContext* opCtx,
_cappedNotifier(_recordStore->isCapped() ? stdx::make_unique<CappedInsertNotifier>()
: nullptr) {
- _indexCatalog->init(opCtx).transitional_ignore();
if (isCapped())
_recordStore->setCappedCallback(this);
-
- _infoCache->init(opCtx);
}
CollectionImpl::~CollectionImpl() {