summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2019-07-24 14:59:17 -0400
committerEric Milkie <milkie@10gen.com>2019-07-24 15:12:02 -0400
commit70d9a6d516bf4ee1a8818cd60043a0924923bdf1 (patch)
tree7816193197b44631628a98498e4a7e7fca9c3009 /src/mongo
parentc819181edbec6081670a5694ebd120fca5977ef6 (diff)
downloadmongo-70d9a6d516bf4ee1a8818cd60043a0924923bdf1.tar.gz
SERVER-42389 log a message when replSetStepDown finishes
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/repl/repl_set_commands.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_set_commands.cpp b/src/mongo/db/repl/repl_set_commands.cpp
index 1cf2d4fd673..599244b583f 100644
--- a/src/mongo/db/repl/repl_set_commands.cpp
+++ b/src/mongo/db/repl/repl_set_commands.cpp
@@ -506,6 +506,9 @@ public:
ReplicationCoordinator::get(opCtx)->stepDown(
opCtx, force, Seconds(secondaryCatchUpPeriodSecs), Seconds(stepDownForSecs));
+
+ log() << "replSetStepDown command completed";
+
return true;
}