Skip to content

Commit

Permalink
osd/PG: calc_replicated_acting - better tips
Browse files Browse the repository at this point in the history
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Aug 23, 2017
1 parent fe1b57d commit bc3e6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osd/PG.cc
Expand Up @@ -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++;
}
Expand Down

0 comments on commit bc3e6e2

Please sign in to comment.