public boolean isFileCorrupted() {
    return isFileCorrupted;
  }
This class provides the common ability to read a log storing T. The corrupted file ending will be
truncate during read process. If some middle part of the log file is corrupted, the read process
will end and the file will be marked corrupted.

@param <T> the generic type
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/logfile/SchemaLogReader.java