mirror of
https://github.com/ceph/ceph
synced 2025-01-03 17:42:36 +00:00
osd/PG: remove dup is_primary() check
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
5da2154e20
commit
7f4d4e8fd1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user