fetch location with sync interface when the location cache not exist
This commit is contained in:
@ -477,11 +477,12 @@ int ObDfoMgr::do_split(ObExecContext &exec_ctx,
|
||||
ObDASTableLoc *table_loc = nullptr;
|
||||
if (OB_ISNULL(table_loc = DAS_CTX(exec_ctx).get_table_loc_by_id(
|
||||
tsc_op->get_table_loc_id(), tsc_op->get_loc_ref_table_id()))) {
|
||||
OZ(ObTableLocation::get_full_leader_table_loc(exec_ctx.get_allocator(),
|
||||
exec_ctx.get_my_session()->get_effective_tenant_id(),
|
||||
tsc_op->get_table_loc_id(),
|
||||
tsc_op->get_loc_ref_table_id(),
|
||||
table_loc));
|
||||
OZ(ObTableLocation::get_full_leader_table_loc(DAS_CTX(exec_ctx).get_location_router(),
|
||||
exec_ctx.get_allocator(),
|
||||
exec_ctx.get_my_session()->get_effective_tenant_id(),
|
||||
tsc_op->get_table_loc_id(),
|
||||
tsc_op->get_loc_ref_table_id(),
|
||||
table_loc));
|
||||
}
|
||||
if (OB_FAIL(ret)) {
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user