mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
ReplicatedPG: add empty stat when we remove an object in recover_backfill
Subsequent updates to that object need to have their stats added to the backfill info stats atomically with the last_backfill update. Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
9ec35d5ccf
commit
ecddd12b01
@ -8106,7 +8106,11 @@ int ReplicatedPG::recover_backfill(
|
||||
i != to_remove.end();
|
||||
++i) {
|
||||
handle.reset_tp_timeout();
|
||||
|
||||
// ordered before any subsequent updates
|
||||
send_remove_op(i->first, i->second, backfill_target);
|
||||
|
||||
pending_backfill_updates[i->first]; // add empty stat!
|
||||
}
|
||||
|
||||
PGBackend::RecoveryHandle *h = pgbackend->open_recovery_op();
|
||||
|
Loading…
Reference in New Issue
Block a user