From: Zhi Zhang Date: Fri, 9 Oct 2020 03:02:44 +0000 (+0800) Subject: mon/MDSMonitor: divide mds identifier and mds real name with dot X-Git-Tag: v16.1.0~813^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4400d70c15e8fb4f013ca22db9fd5fe60c99dc32;p=ceph.git mon/MDSMonitor: divide mds identifier and mds real name with dot Fixes: https://tracker.ceph.com/issues/47806 Signed-off-by: Zhi Zhang --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index f00460e684aa..474b46842284 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -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) {