diff --git a/storage/innobase/arch/arch0log.cc b/storage/innobase/arch/arch0log.cc index be63beca1bc..378c18a86c3 100644 --- a/storage/innobase/arch/arch0log.cc +++ b/storage/innobase/arch/arch0log.cc @@ -54,6 +54,8 @@ void Log_Arch_Client_Ctx::get_header_size(uint &header_sz, int Log_Arch_Client_Ctx::start(byte *header, uint len) { ut_ad(len >= LOG_FILE_HDR_SIZE); + ib::info(ER_IB_MSG_15) << "Clone before Start LOG ARCH : start LSN : " + << m_begin_lsn; auto err = arch_log_sys->start(m_group, m_begin_lsn, header, false); diff --git a/storage/innobase/arch/arch0page.cc b/storage/innobase/arch/arch0page.cc index 6a63789ce9a..77de64c0ded 100644 --- a/storage/innobase/arch/arch0page.cc +++ b/storage/innobase/arch/arch0page.cc @@ -2082,7 +2082,6 @@ int Arch_Page_Sys::get_num_pages(lsn_t &start_id, lsn_t &stop_id, /** 4. Fetch number of pages tracked. */ - ut_ad(start_point.lsn <= stop_point.lsn); ut_ad(start_point.pos.m_block_num <= stop_point.pos.m_block_num); success = get_num_pages(start_pos, stop_pos, *num_pages); @@ -3081,7 +3080,7 @@ int Arch_Page_Sys::fetch_group_within_lsn_range(lsn_t &start_id, lsn_t &stop_id, stop_id = (stop_id == 0) ? latest_stop_lsn : stop_id; } - if (start_id >= stop_id || start_id == LSN_MAX || stop_id == LSN_MAX) { + if (start_id == LSN_MAX || stop_id == LSN_MAX) { return (ER_PAGE_TRACKING_RANGE_NOT_TRACKED); }