@Override
  public long position() throws IOException {
    try {
      return tsFileInput.position();
    } catch (Exception e) {
      if (Thread.currentThread().isInterrupted()) {
        throw new StopReadTsFileByInterruptException();
      }
      throw e;
    }
  }
Marks the end of reading an aligned series.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/io/CompactionTsFileInput.java