[master][xa][tx-route] fix kill tx of tmp session on orignal node

This commit is contained in:
chinaxing
2023-02-27 06:45:50 +00:00
committed by ob-robot
parent baf1a0e2b9
commit 640e418beb

View File

@ -37,7 +37,9 @@ int64_t MAX_STATE_SIZE = 4 * 1024; // 4KB
bool ObTxnFreeRouteCtx::is_temp(const ObTxDesc &tx) const
{
return !TX_START_OR_RESUME_LOCAL(&tx);
//return !TX_START_OR_RESUME_LOCAL(&tx);
UNUSED(tx);
return txn_addr_.is_valid() && txn_addr_ != GCONF.self_addr_;
}
void ObTxnFreeRouteCtx::init_before_update_state(bool proxy_support)
{