Fix table api perf issue
This commit is contained in:
@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user