Fix ls migration and restore reuse minor sstable bug

This commit is contained in:
godyangfight
2022-11-23 10:37:56 +00:00
committed by wangzelin.wzl
parent 6ef29179eb
commit e8dedd7ccb

View File

@ -639,7 +639,9 @@ int ObStorageHATaskUtils::check_minor_sstable_need_copy_(
} else if (table->get_key() == param.table_key_) { } else if (table->get_key() == param.table_key_) {
const ObSSTable *sstable = static_cast<const ObSSTable *>(table); const ObSSTable *sstable = static_cast<const ObSSTable *>(table);
found = true; found = true;
need_copy = false; need_copy = true;
//TODO(muwei.ym) Fix it in 4.1.
//Need copy should be false and reuse local minor sstable.
} }
} }