[master] change seq_no to ObTxSEQ

This commit is contained in:
chinaxing
2023-08-10 06:12:31 +00:00
committed by ob-robot
parent 116871fc10
commit ea61a471d1
134 changed files with 793 additions and 648 deletions

View File

@ -1162,7 +1162,7 @@ int ObOBJLock::get_lock_op_iter(const ObLockID &lock_id,
tmp_op.op_type_ = IN_TRANS_DML_LOCK;
tmp_op.lock_op_status_ = LOCK_OP_DOING;
// we use this one for the count.
tmp_op.lock_seq_no_ = row_share_;
tmp_op.lock_seq_no_ = ObTxSEQ(row_share_, 0);
if (OB_FAIL(iter.push(tmp_op))) {
TABLELOCK_LOG(WARN, "push tmp lock op into iterator failed", K(ret), K(tmp_op));
}
@ -1175,7 +1175,7 @@ int ObOBJLock::get_lock_op_iter(const ObLockID &lock_id,
tmp_op.op_type_ = IN_TRANS_DML_LOCK;
tmp_op.lock_op_status_ = LOCK_OP_DOING;
// we use this one for the count.
tmp_op.lock_seq_no_ = row_exclusive_;
tmp_op.lock_seq_no_ = ObTxSEQ(row_exclusive_, 0);
if (OB_FAIL(iter.push(tmp_op))) {
TABLELOCK_LOG(WARN, "push tmp lock op into iterator failed", K(ret), K(tmp_op));
}