fix bug select for update ... skip locked can't execute parallen
This commit is contained in:
committed by
ob-robot
parent
f15a12aa7c
commit
fbce1c5965
@ -89,7 +89,7 @@ int ObLogForUpdate::compute_sharding_info()
|
||||
} else if (OB_ISNULL(get_sharding())) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get unexpected null", K(ret));
|
||||
} else {
|
||||
} else {
|
||||
is_partition_wise_ = !is_multi_part_dml_ && !child->is_exchange_allocated() &&
|
||||
get_sharding()->is_distributed() &&
|
||||
NULL != get_sharding()->get_phy_table_location_info();
|
||||
@ -109,7 +109,7 @@ int ObLogForUpdate::allocate_granule_post(AllocGIContext &ctx)
|
||||
if (OB_ISNULL(get_plan())) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get unexpected null", K(ret));
|
||||
} else if (OB_FAIL(pw_allocate_granule_post(ctx))){ // 分配完GI以后,会对ctx的状态进行清理
|
||||
} else if (OB_FAIL(pw_allocate_granule_post(ctx))) { // 分配完GI以后,会对ctx的状态进行清理
|
||||
LOG_WARN("failed to allocate pw gi post", K(ret));
|
||||
} else {
|
||||
if (is_partition_wise_state && ctx.is_op_set_pw(this)) {
|
||||
|
||||
Reference in New Issue
Block a user