osd/PG: remove dup is_primary() check

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
xie xingguo 2017-03-14 21:02:44 +08:00
parent 5da2154e20
commit 7f4d4e8fd1

View File

@ -1862,8 +1862,6 @@ void PG::activate(ObjectStore::Transaction& t,
state_set(PG_STATE_ACTIVATING);
release_pg_backoffs();
}
if (is_primary()) {
projected_last_update = info.last_update;
}
if (acting.size() >= pool.info.min_size) {