mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
osd: clear missing set on replica when restarting backfill
The primary does the same in PG::activate(). Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
6b02f9fae1
commit
a4e2395fc9
@ -4119,6 +4119,7 @@ boost::statechart::result PG::RecoveryState::Stray::react(const MLogRec& logevt)
|
||||
// restart backfill
|
||||
pg->info = msg->info;
|
||||
pg->log.claim_log(msg->log);
|
||||
pg->missing.clear();
|
||||
} else {
|
||||
pg->merge_log(*context<RecoveryMachine>().get_cur_transaction(),
|
||||
msg->info, msg->log, logevt.from);
|
||||
|
Loading…
Reference in New Issue
Block a user