fix migrate init medium list twice

This commit is contained in:
obdev
2023-03-14 07:10:57 +00:00
committed by ob-robot
parent 92c3e8a96f
commit 312db5a0f2
4 changed files with 37 additions and 11 deletions

View File

@ -849,7 +849,7 @@ int ObMediumCompactionScheduleFunc::schedule_tablet_medium_merge(
if (!scheduler_called) { // should not visit inner table, wait for scheduler loop
} else if (OB_FAIL(get_status_from_inner_table(ls_id, tablet_id, ret_info))) {
LOG_WARN("failed to get status from inner tablet", K(ret), K(ls_id), K(tablet_id));
} else if (ret_info.could_schedule_next_round(last_major->get_snapshot_version())) {
} else if (ret_info.could_schedule_next_round(medium_list.get_last_compaction_scn())) {
LOG_INFO("success to check RS major checksum validation finished", K(ret), K(ls_id), K(tablet_id));
schedule_flag = true;
}