diff options
author | Nicholas Zolnierz <nicholas.zolnierz@mongodb.com> | 2022-08-03 16:08:42 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-03 17:22:30 +0000 |
commit | c9bbd1cfae470f2b3229e69957f512d2a2db6663 (patch) | |
tree | 1176c9ce875b1abfd346b1614c96608d6a7ee434 /src/mongo/db/catalog | |
parent | 970a89221d0520693bc64bb33df6b1bf66d7c56d (diff) | |
download | mongo-c9bbd1cfae470f2b3229e69957f512d2a2db6663.tar.gz |
SERVER-62042 Consolidate query optimization and execution control into a single knob
Diffstat (limited to 'src/mongo/db/catalog')
-rw-r--r-- | src/mongo/db/catalog/database_impl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/database_impl.cpp b/src/mongo/db/catalog/database_impl.cpp index 0bf108619ca..6cee2e1b636 100644 --- a/src/mongo/db/catalog/database_impl.cpp +++ b/src/mongo/db/catalog/database_impl.cpp @@ -914,7 +914,9 @@ Collection* DatabaseImpl::createCollection(OperationContext* opCtx, } if (MONGO_unlikely(createColumnIndex)) { - invariant(!internalQueryForceClassicEngine.load(), + invariant(ServerParameterSet::getNodeParameterSet() + ->get<QueryFrameworkControl>("internalQueryFrameworkControl") + ->_data.get() != QueryFrameworkControlEnum::kForceClassicEngine, "Column Store Indexes failpoint in use without enabling SBE engine"); uassertStatusOK(collection->getIndexCatalog()->createIndexOnEmptyCollection( opCtx, collection, kColumnStoreSpec)); |