Send as much log as we can during backfill so that dup op detection works
as well as it can.
Signed-off-by: Sage Weil <sage@redhat.com>
last_peering_reset /* epoch to create pg at */);
// send some recent log, so that op dup detection works well.
- m->log.copy_up_to(cct, pg_log.get_log(), cct->_conf->osd_min_pg_log_entries);
+ m->log.copy_up_to(cct, pg_log.get_log(),
+ cct->_conf->osd_max_pg_log_entries);
m->info.log_tail = m->log.tail;
pi.log_tail = m->log.tail; // sigh...