Fix table api perf issue

This commit is contained in:
JiahuaChen
2024-01-03 12:59:49 +00:00
committed by ob-robot
parent 9bd6e48a27
commit 0e11a0a739

View File

@ -7158,7 +7158,7 @@ int ObTablet::check_snapshot_readable_with_cache(
bool is_committed = false; bool is_committed = false;
if (OB_FAIL(ObITabletMdsInterface::get_latest_ddl_data(tmp_ddl_data, is_committed))) { if (OB_FAIL(ObITabletMdsInterface::get_latest_ddl_data(tmp_ddl_data, is_committed))) {
if (OB_EMPTY_RESULT == ret) { if (OB_EMPTY_RESULT == ret) {
is_committed = false; is_committed = true;
tmp_ddl_data.set_default_value(); // use default value tmp_ddl_data.set_default_value(); // use default value
ret = OB_SUCCESS; ret = OB_SUCCESS;
} else { } else {