From e8acf94175635e899b643125d369ca09a9151f11 Mon Sep 17 00:00:00 2001 From: Michael Schmaltz <33194208+kevinflynn387@users.noreply.github.com> Date: Wed, 16 Aug 2023 21:11:00 +0200 Subject: [PATCH] Update MDSDaemon.cc Change MDS log-output line. During mark a new MDS as STANDBY MDS in the FSMap the following log-line will be created: "mds.cephmds01 Monitors have assigned me to become a standby." The last character which is a dot "." have to be removed to be identical to other MDS log-messages which also not ends with a dot at the end. Thanks and best regards Michael Schmaltz Signed-off-by: Michael Schmaltz <33194208+kevinflynn387@users.noreply.github.com> --- src/mds/MDSDaemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 669066fb78022..76f02d2993a2a 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -754,7 +754,7 @@ void MDSDaemon::handle_mds_map(const cref_t &m) * immediately be assigned a rank). */ if (old_state == DS::STATE_NULL) { - dout(1) << "Monitors have assigned me to become a standby." << dendl; + dout(1) << "Monitors have assigned me to become a standby" << dendl; beacon.set_want_state(*mdsmap, new_state); } else if (old_state == DS::STATE_STANDBY) { dout(5) << "I am still standby" << dendl; -- 2.39.5