]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: divide mds identifier and mds real name with dot 37821/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 9 Oct 2020 03:02:44 +0000 (11:02 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 26 Oct 2020 21:44:14 +0000 (22:44 +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 73dbb15c6df794be0f8bb77282490a386e362ae0..7df09abe9d7f37f35c6d4511207235c6e2ace4f3 100644 (file)
@@ -220,7 +220,7 @@ void MDSMonitor::encode_pending(MonitorDBStore::TransactionRef t)
        metric.sev,
        mds_metric_summary(metric.type));
       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) {