summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/timeseries_modify.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/timeseries_modify.h')
-rw-r--r--src/mongo/db/exec/timeseries_modify.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/timeseries_modify.h b/src/mongo/db/exec/timeseries_modify.h
index 3a36b378ae4..5269c79c6f9 100644
--- a/src/mongo/db/exec/timeseries_modify.h
+++ b/src/mongo/db/exec/timeseries_modify.h
@@ -98,7 +98,7 @@ struct TimeseriesModifyParams {
* The stage processes one bucket at a time, unpacking all the measurements and writing the output
* bucket in a single doWork() call.
*/
-class TimeseriesModifyStage final : public RequiresMutableCollectionStage {
+class TimeseriesModifyStage final : public RequiresWritableCollectionStage {
public:
static const char* kStageType;
@@ -106,7 +106,7 @@ public:
TimeseriesModifyParams&& params,
WorkingSet* ws,
std::unique_ptr<PlanStage> child,
- const CollectionPtr& coll,
+ const ScopedCollectionAcquisition& coll,
BucketUnpacker bucketUnpacker,
std::unique_ptr<MatchExpression> residualPredicate);