This is unnecessary and counterproductive, since the log is used to detect
dup ops. It's an artifact of an earlier backfill iteration that didn't
preserve the log on the backfill target.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
info.last_backfill = m->last_backfill;
info.stats.stats = m->stats;
- log.clear();
- log.head = info.last_update;
- log.tail = info.last_update;
-
- info.log_tail = log.tail;
-
ObjectStore::Transaction *t = new ObjectStore::Transaction;
- write_log(*t);
write_info(*t);
int tr = osd->store->queue_transaction(&osr, t);
assert(tr == 0);