We shouldn't modify the local notion of the history without recording it to
disk. And we (probably) also don't need to do that at all on query.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
continue;
}
+ /* FIXME: do not do this unless/until we also write any modified history to disk.
unreg_last_pg_scrub(pg->info.pgid, pg->info.history.last_scrub_stamp);
pg->info.history.merge(it->second.history);
reg_last_pg_scrub(pg->info.pgid, pg->info.history.last_scrub_stamp);
+ */
// ok, process query!
PG::RecoveryCtx rctx(0, 0, ¬ify_list, 0, 0);