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:
Sage Weil 2012-01-16 09:34:47 -08:00
parent 6b02f9fae1
commit a4e2395fc9

View File

@ -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);