summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/delete_stage.h
diff options
context:
space:
mode:
authorJordi Serra Torrens <jordi.serra-torrens@mongodb.com>2023-05-15 14:29:47 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-15 16:51:56 +0000
commitae9dcbeaba01de7526e3ea45902bb9ae2905d537 (patch)
treee0acefcbe477e9cdad3a37bd45dac0cce88b6931 /src/mongo/db/exec/delete_stage.h
parentda78632c6843c8e7d79b598cb7d9ff307acf5ada (diff)
downloadmongo-ae9dcbeaba01de7526e3ea45902bb9ae2905d537.tar.gz
SERVER-77068 Use collection acquisitions in Update/Delete stages
Diffstat (limited to 'src/mongo/db/exec/delete_stage.h')
-rw-r--r--src/mongo/db/exec/delete_stage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/delete_stage.h b/src/mongo/db/exec/delete_stage.h
index eaa91728693..01e44ee5422 100644
--- a/src/mongo/db/exec/delete_stage.h
+++ b/src/mongo/db/exec/delete_stage.h
@@ -102,7 +102,7 @@ struct DeleteStageParams {
* Callers of work() must be holding a write lock (and, for replicated deletes, callers must have
* had the replication coordinator approve the write).
*/
-class DeleteStage : public RequiresMutableCollectionStage {
+class DeleteStage : public RequiresWritableCollectionStage {
DeleteStage(const DeleteStage&) = delete;
DeleteStage& operator=(const DeleteStage&) = delete;