diff options
author | Haley Connelly <haley.connelly@mongodb.com> | 2022-05-18 14:37:26 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-18 15:52:21 +0000 |
commit | 12e5524bd86cae9dde0f04c57c96f9622c1c5ab9 (patch) | |
tree | d4644d78837c2d669cc7a78ef023a411f79b359a /src/mongo/db/ttl.cpp | |
parent | c9c71fa2a7c872a2c146b62cb9e94e93e7e8bed9 (diff) | |
download | mongo-12e5524bd86cae9dde0f04c57c96f9622c1c5ab9.tar.gz |
SERVER-66537 Combine BatchedDeleteStage<Batch/Pass>Params
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r-- | src/mongo/db/ttl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index 78fa7d74847..1183624d2f2 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -74,14 +74,14 @@ namespace mongo { namespace { const auto getTTLMonitor = ServiceContext::declareDecoration<std::unique_ptr<TTLMonitor>>(); -// Returns BatchedDeleteStageBatchParams pointer only if the feature flag and the server +// Returns BatchedDeleteStageParams pointer only if the feature flag and the server // parameter are enabled. -std::unique_ptr<BatchedDeleteStageBatchParams> getBatchedDeleteParamsIfEnabled( +std::unique_ptr<BatchedDeleteStageParams> getBatchedDeleteParamsIfEnabled( const CollectionPtr& collection) { // Load batched delete parameters. if (feature_flags::gBatchMultiDeletes.isEnabled(serverGlobalParams.featureCompatibility) && ttlMonitorBatchDeletes.load()) { - return std::make_unique<BatchedDeleteStageBatchParams>(); + return std::make_unique<BatchedDeleteStageParams>(); } return nullptr; } |