diff options
Diffstat (limited to 'src/mongo/db/catalog/create_collection.cpp')
-rw-r--r-- | src/mongo/db/catalog/create_collection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/create_collection.cpp b/src/mongo/db/catalog/create_collection.cpp index fa49d083b25..b59b23bb22d 100644 --- a/src/mongo/db/catalog/create_collection.cpp +++ b/src/mongo/db/catalog/create_collection.cpp @@ -226,8 +226,7 @@ Status _createTimeseries(OperationContext* opCtx, bucketsOptions.validator = validatorObj; // If possible, cluster time-series buckets collections by _id. - const bool useClusteredIdIndex = gTimeseriesBucketsCollectionClusterById && - opCtx->getServiceContext()->getStorageEngine()->supportsClusteredIdIndex(); + const bool useClusteredIdIndex = gTimeseriesBucketsCollectionClusterById; auto expireAfterSeconds = options.expireAfterSeconds; if (useClusteredIdIndex) { if (expireAfterSeconds) { |