diff options
author | Eric Milkie <milkie@10gen.com> | 2019-07-24 14:59:17 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2019-07-24 15:12:02 -0400 |
commit | 70d9a6d516bf4ee1a8818cd60043a0924923bdf1 (patch) | |
tree | 7816193197b44631628a98498e4a7e7fca9c3009 /src/mongo | |
parent | c819181edbec6081670a5694ebd120fca5977ef6 (diff) | |
download | mongo-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.cpp | 3 |
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; } |