@Override
  public int read(ByteBuffer dst) throws IOException {
    acquireReadDataSizeWithCompactionReadRateLimiter(dst.remaining());
    int readSize = tsFileInput.read(dst);
    updateMetrics(position(), readSize);
    if (Thread.currentThread().isInterrupted()) {
      throw new StopReadTsFileByInterruptException();
    }
    return readSize;
  }
Marks the end of reading an aligned series.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/io/CompactionTsFileInput.java