sub_op_scrub must set finalizing_scrub on the replica
before waiting for last_update_applied to catch up to
info.last_update.
Signed-off-by: Samuel Just <samuelj@hq.newdream.net>
ScrubMap map;
if (op->version > eversion_t()) {
epoch_t epoch = info.history.same_acting_since;
+ finalizing_scrub = 1;
while (last_update_applied != info.last_update) {
wait();
if (epoch != info.history.same_acting_since ||
}
}
build_inc_scrub_map(map, op->version);
+ finalizing_scrub = 0;
} else {
build_scrub_map(map);
}