]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: calc_replicated_acting - better tips 17171/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 22 Aug 2017 06:29:00 +0000 (14:29 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 23 Aug 2017 08:41:26 +0000 (16:41 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc

index fdea3712fb8892389d5292ed6991b57328c1d935..ee9008d6c702260129299297118a6cebcb99ffbf 100644 (file)
@@ -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++;
     }