]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MDSMonitor: divide mds identifier and mds real name with dot 37608/head
authorZhi Zhang <willzzhang@tencent.com>
Fri, 9 Oct 2020 03:02:44 +0000 (11:02 +0800)
committerZhi Zhang <willzzhang@tencent.com>
Fri, 9 Oct 2020 03:02:44 +0000 (11:02 +0800)
Fixes: https://tracker.ceph.com/issues/47806
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
src/mon/MDSMonitor.cc

index f00460e684aaa3b8cff42ba341bcf136af4c3703..474b46842284deea5d87b0a3a70147978d2021a1 100644 (file)
@@ -250,7 +250,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) {