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: v15.2.8~5^2~1^2~4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F37857%2Fhead;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 (cherry picked from commit 4400d70c15e8fb4f013ca22db9fd5fe60c99dc32) --- diff --git a/src/mon/MDSMonitor.cc b/src/mon/MDSMonitor.cc index e60c06d46a4..d309f51867d 100644 --- a/src/mon/MDSMonitor.cc +++ b/src/mon/MDSMonitor.cc @@ -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) {