This assert assumes that if olog.head != log.head, olog contains
a log entry at log.head, which may not be true since pg splitting
might have left the log with arbitrary holes.
Related:
0c2769d3321bff6e85ec57c85a08ee0b8e751bcb
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
log.index(*to);
dout(15) << *to << dendl;
}
- assert(to != olog.log.end() ||
- (olog.head == info.last_update));
// splice into our log.
log.log.splice(log.log.begin(),