]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: divide mds identifier and mds real name with dot 37857/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 9 Oct 2020 03:02:44 +0000 (11:02 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 09:37:18 +0000 (10:37 +0100)
Fixes: https://tracker.ceph.com/issues/47806
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit 4400d70c15e8fb4f013ca22db9fd5fe60c99dc32)

src/mon/MDSMonitor.cc

index e60c06d46a49b55975dc1a86196d31783d96c120..d309f51867de09f92029901f1b2e8d014cefbd5e 100644 (file)
@@ -224,7 +224,7 @@ void MDSMonitor::encode_pending(MonitorDBStore::TransactionRef t)
        mds_metric_summary(metric.type),
        1);
       ostringstream ss;
-      ss << "mds" << info.name << "(mds." << rank << "): " << metric.message;
+      ss << "mds." << info.name << "(mds." << rank << "): " << metric.message;
       bool first = true;
       for (auto &p : metric.metadata) {
        if (first) {