[BUG] add seq no reverse check into the same sql check
This commit is contained in:
@ -150,7 +150,9 @@ int check_sequence_set_violation(const concurrent_control::ObWriteFlag write_fla
|
|||||||
K(writer_tx_id), K(writer_dml_flag), K(writer_seq_no),
|
K(writer_tx_id), K(writer_dml_flag), K(writer_seq_no),
|
||||||
K(locker_tx_id), K(locker_dml_flag), K(locker_seq_no));
|
K(locker_tx_id), K(locker_dml_flag), K(locker_seq_no));
|
||||||
}
|
}
|
||||||
} else if (writer_seq_no < locker_seq_no) {
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret) && writer_seq_no < locker_seq_no) {
|
||||||
// We need guarantee the right sequence of the same txn operations
|
// We need guarantee the right sequence of the same txn operations
|
||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
TRANS_LOG(ERROR, "wrong row of sequence on one row found", K(reader_seq_no),
|
TRANS_LOG(ERROR, "wrong row of sequence on one row found", K(reader_seq_no),
|
||||||
|
|||||||
Reference in New Issue
Block a user