fix prepare version invalid bug when transaction is recovered from tx ctx table
This commit is contained in:
parent
5c2ed71dd6
commit
8a48ba190b
@ -1276,6 +1276,9 @@ int ObPartTransCtx::recover_tx_ctx_table_info(const ObTxCtxTableInfo &ctx_info)
|
||||
if (ObTxState::REDO_COMPLETE == get_downstream_state()) {
|
||||
sub_state_.set_info_log_submitted();
|
||||
}
|
||||
if (exec_info_.prepare_version_.is_valid()) {
|
||||
mt_ctx_.set_trans_version(exec_info_.prepare_version_);
|
||||
}
|
||||
exec_info_.multi_data_source_.reset();
|
||||
if (OB_FAIL(ret)) {
|
||||
// do nothing
|
||||
|
Loading…
x
Reference in New Issue
Block a user