提交 ac3f9587 编写于 作者: O obdev 提交者: wangzelin.wzl

Fix migration and restore copy sstable range not continue when reuse local sstable

上级 70335895
......@@ -555,9 +555,11 @@ int ObStorageHATaskUtils::check_need_copy_sstable(
LOG_WARN("failed to check major sstable need copy", K(ret), K(param), K(tablet_handle));
}
} else if (param.table_key_.is_minor_sstable()) {
if (OB_FAIL(check_minor_sstable_need_copy_(param, tablet_handle, need_copy))) {
LOG_WARN("failed to check minor sstable need copy", K(ret), K(param), K(tablet_handle));
}
need_copy = true;
//TODO(muwei.ym) reuse local minor sstable
//if (OB_FAIL(check_minor_sstable_need_copy_(param, tablet_handle, need_copy))) {
// LOG_WARN("failed to check minor sstable need copy", K(ret), K(param), K(tablet_handle));
//}
} else if (param.table_key_.is_ddl_sstable()) {
if (OB_FAIL(check_ddl_sstable_need_copy_(param, tablet_handle, need_copy))) {
LOG_WARN("failed to check ddl sstable need copy", K(ret), K(param), K(tablet_handle));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册