} else {
ceph_abort_msg("completing untracked object shall not happen");
}
+ auto new_last_backfill = peering_state().earliest_backfill();
for (auto it = std::begin(registry);
it != std::end(registry) &&
it->second.stage != op_stage_t::enqueued_push;
peering_state().update_complete_backfill_object_stats(
soid,
*item.stats);
+ assert(soid > new_last_backfill);
+ new_last_backfill = soid;
}
if (Enqueuing::all_enqueued(peering_state(),
backfill_state().backfill_info,
backfill_state().last_backfill_started = hobject_t::get_max();
backfill_listener().update_peers_last_backfill(hobject_t::get_max());
} else {
- backfill_listener().update_peers_last_backfill(obj);
+ backfill_listener().update_peers_last_backfill(new_last_backfill);
}
}