@Override
  public int compareTo(ChangedLsn another) {
    if (transactionId > another.transactionId()) {
      return 1;
    } else if (transactionId < another.transactionId) {
      return -1;
    } else {
      if (fileOffset > another.fileOffset()) {
        return 1;
      } else if (fileOffset < another.fileOffset) {
        return -1;
      } else {
        return 0;
      }
    }
  }
Global row sequence number.

<p>Consist of two parts:

<ul>
  <li>id of transaction row written into the table
  <li>row sequence within the transaction
</ul>
amoro-format-iceberg/src/main/java/org/apache/amoro/data/ChangedLsn.java