diff --git a/src/storage/tx/ob_tx_2pc_msg_handler.cpp b/src/storage/tx/ob_tx_2pc_msg_handler.cpp index 8ec6ef71d..b6e3182ca 100644 --- a/src/storage/tx/ob_tx_2pc_msg_handler.cpp +++ b/src/storage/tx/ob_tx_2pc_msg_handler.cpp @@ -472,7 +472,6 @@ int ObPartTransCtx::apply_2pc_msg_(const ObTwoPhaseCommitMsgType msg_type) case ObTwoPhaseCommitMsgType::OB_MSG_TX_PREPARE_REQ: { const Ob2pcPrepareReqMsg &msg = *(static_cast(msg_2pc_cache_)); - part_trans_action_ = ObPartTransAction::COMMIT; if (FALSE_IT(set_trans_type_(TransType::DIST_TRANS))) { } else if (OB_FAIL(set_app_trace_info_(msg.app_trace_info_))) { TRANS_LOG(WARN, "set app trace info failed", KR(ret), K(msg), K(*this));