[master][xa][tx-route] fix from normal tx switch to xa trans missed return static
This commit is contained in:
@ -854,8 +854,9 @@ int ObTransService::calc_txn_free_route(ObTxDesc *tx, ObTxnFreeRouteCtx &ctx)
|
||||
//
|
||||
if (OB_SUCC(ret)) {
|
||||
if (return_normal_state) {
|
||||
if (is_xa && is_tx_start) {
|
||||
// XA START same as START TX
|
||||
if (is_xa && (is_tx_start || is_tx_switch)) {
|
||||
// XA START same as START TX, its state may be synced (instead of executed on local)
|
||||
// hence, we forcedly set to changed
|
||||
ctx.static_changed_ = true;
|
||||
ctx.dynamic_changed_ = true;
|
||||
ctx.parts_changed_ = true;
|
||||
|
||||
Reference in New Issue
Block a user