]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update MDSDaemon.cc 53028/head
authorMichael Schmaltz <33194208+kevinflynn387@users.noreply.github.com>
Wed, 16 Aug 2023 19:11:00 +0000 (21:11 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 19:11:00 +0000 (21:11 +0200)
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

index 669066fb78022badf63fd5770dc55a565f62e5de..76f02d2993a2a3de644c4ba994c56564c9b6129e 100644 (file)
@@ -754,7 +754,7 @@ void MDSDaemon::handle_mds_map(const cref_t<MMDSMap> &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;