PG *pg = context< RecoveryMachine >().pg;
assert(!pg->actingbackfill.empty());
+ eversion_t since;
for (set<pg_shard_t>::iterator i = pg->actingbackfill.begin();
i != pg->actingbackfill.end();
++i) {
// We pull the log from the peer's last_epoch_started to ensure we
// get enough log to detect divergent updates.
- eversion_t since(pi.last_epoch_started, 0);
+ since.epoch = pi.last_epoch_started;
assert(pi.last_update >= pg->info.log_tail); // or else choose_acting() did a bad thing
if (pi.log_tail <= since) {
dout(10) << " requesting log+missing since " << since << " from osd." << *i << dendl;