fix migration update major sstable do not specify merge type issue

This commit is contained in:
oceanoverflow
2023-05-18 00:11:31 +00:00
committed by ob-robot
parent 10a6c9b642
commit c5e9ad6a0c

View File

@ -2087,7 +2087,8 @@ int ObStorageHATabletBuilderUtil::inner_update_tablet_table_store_with_major_(
SCN::min_scn()/*clog_checkpoint_scn*/, SCN::min_scn()/*clog_checkpoint_scn*/,
true/*need_check_sstable*/, true/*need_check_sstable*/,
true/*allow_duplicate_sstable*/, true/*allow_duplicate_sstable*/,
&medium_info_list); &medium_info_list,
ObMergeType::MAJOR_MERGE/*merge_type*/);
if (tablet->get_storage_schema().get_version() < storage_schema.get_version()) { if (tablet->get_storage_schema().get_version() < storage_schema.get_version()) {
SERVER_EVENT_ADD("storage_ha", "schema_change_need_merge_tablet_meta", SERVER_EVENT_ADD("storage_ha", "schema_change_need_merge_tablet_meta",
"tenant_id", MTL_ID(), "tenant_id", MTL_ID(),