summaryrefslogtreecommitdiff
path: root/src/mongo/db/timeseries/timeseries_write_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/timeseries/timeseries_write_util.cpp')
-rw-r--r--src/mongo/db/timeseries/timeseries_write_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/timeseries/timeseries_write_util.cpp b/src/mongo/db/timeseries/timeseries_write_util.cpp
index 7240919ffd9..bfa6883076c 100644
--- a/src/mongo/db/timeseries/timeseries_write_util.cpp
+++ b/src/mongo/db/timeseries/timeseries_write_util.cpp
@@ -154,8 +154,8 @@ Status performAtomicWrites(OperationContext* opCtx,
DisableDocumentValidation disableDocumentValidation{opCtx};
- write_ops_exec::LastOpFixer lastOpFixer{opCtx, ns};
- lastOpFixer.startingOp();
+ write_ops_exec::LastOpFixer lastOpFixer{opCtx};
+ lastOpFixer.startingOp(ns);
auto curOp = CurOp::get(opCtx);
curOp->raiseDbProfileLevel(CollectionCatalog::get(opCtx)->getDatabaseProfileLevel(ns.dbName()));