From: xie xingguo Date: Tue, 22 Aug 2017 06:29:00 +0000 (+0800) Subject: osd/PG: calc_replicated_acting - better tips X-Git-Tag: v13.0.1~1193^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17171%2Fhead;p=ceph.git osd/PG: calc_replicated_acting - better tips Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index fdea3712fb8..ee9008d6c70 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1297,12 +1297,12 @@ void PG::calc_replicated_acting( const pg_info_t &cur_info = all_info.find(acting_cand)->second; if (cur_info.is_incomplete() || cur_info.last_update < primary->second.log_tail) { - ss << " shard " << acting_cand << " (stray) REJECTED " + ss << " shard " << acting_cand << " (acting) REJECTED " << cur_info << std::endl; } else { want->push_back(*i); acting_backfill->insert(acting_cand); - ss << " shard " << acting_cand << " (stray) accepted " + ss << " shard " << acting_cand << " (acting) accepted " << cur_info << std::endl; usable++; }