diff options
author | Vishnu Kaushik <vishnu.kaushik@mongodb.com> | 2021-06-22 21:52:00 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-14 21:03:23 +0000 |
commit | db0a9bfd85178648b9a3ded39d999e25d8455e7d (patch) | |
tree | 554ad0281ce66b646a0c31725235ba42ec60e481 /src/mongo/db/repl/repl_set_commands.cpp | |
parent | 30dc4f5d4bd98c4d2eb3d37644169b83dfcb5ede (diff) | |
download | mongo-db0a9bfd85178648b9a3ded39d999e25d8455e7d.tar.gz |
SERVER-55589 setMaintenanceMode should take RSTL in X mode
Diffstat (limited to 'src/mongo/db/repl/repl_set_commands.cpp')
-rw-r--r-- | src/mongo/db/repl/repl_set_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/repl_set_commands.cpp b/src/mongo/db/repl/repl_set_commands.cpp index 63b2a23ff36..88a4f1cf493 100644 --- a/src/mongo/db/repl/repl_set_commands.cpp +++ b/src/mongo/db/repl/repl_set_commands.cpp @@ -549,7 +549,7 @@ public: uassertStatusOK(status); uassertStatusOK(ReplicationCoordinator::get(opCtx)->setMaintenanceMode( - cmdObj["replSetMaintenance"].trueValue())); + opCtx, cmdObj["replSetMaintenance"].trueValue())); return true; } |