These asserts are valid for a uniform cluster, but they won't hold
for a replica running a version without the info.last_epoch_started
patch.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
dirty_info = true;
osd->reg_last_pg_scrub(info.pgid, info.history.last_scrub_stamp);
- assert(oinfo.last_epoch_started == info.last_epoch_started);
- assert(info.history.last_epoch_started == oinfo.last_epoch_started);
- assert(oinfo.history.last_epoch_started == oinfo.last_epoch_started);
-
// Handle changes to purged_snaps ONLY IF we have caught up
if (last_complete_ondisk.epoch >= info.history.last_epoch_started) {
interval_set<snapid_t> p;