Add barrier snapshot version for defensive check【4377】
This commit is contained in:
@ -457,6 +457,11 @@ int ObMemtableCtx::trans_end(
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
|
||||
if (commit && INT64_MAX == get_trans_version()) {
|
||||
TRANS_LOG(ERROR, "unexpected prepare version", K(*this));
|
||||
// no retcode
|
||||
}
|
||||
|
||||
ret = do_trans_end(commit,
|
||||
trans_version,
|
||||
final_log_ts,
|
||||
|
||||
Reference in New Issue
Block a user