[BUG] we need update max elr commit version when cleanout elr

This commit is contained in:
Handora
2023-06-13 02:42:30 +00:00
committed by ob-robot
parent 433616c763
commit 6b80de1035

View File

@ -448,6 +448,7 @@ int ObCleanoutTxNodeOperation::operator()(const ObTxData &tx_data, ObTxCCCtx *tx
}
} else if (ObTxData::ELR_COMMIT == state) {
// TODO: make it more clear
value_.update_max_elr_trans_version(commit_version, tnode_.tx_id_);
tnode_.fill_trans_version(commit_version);
tnode_.set_elr();
} else if (ObTxData::COMMIT == state) {