[DEBUG] add error log to debug invalid start_scn
This commit is contained in:
@ -825,6 +825,11 @@ int ObTxDataMemtable::do_sort_by_tx_id_()
|
||||
|
||||
int64_t get_start_ts_(const ObTxData &tx_data)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (!(tx_data.start_scn_.is_valid())) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
STORAGE_LOG(ERROR, "invalid start scn!!!", K(tx_data));
|
||||
}
|
||||
return tx_data.start_scn_.get_val_for_tx();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user