private Checkpoint loadCheckpoint() {
        final Checkpoint checkpoint;
        try {
            checkpoint = this.checkpointFile.load();
            if (checkpoint != null) {
                LOG.info("Loaded checkpoint: {} from {}.", checkpoint, this.checkpointFile.getPath());
            }
        } catch (final IOException e) {
            LOG.error("Fail to load checkpoint file: {}", this.checkpointFile.getPath(), e);
            return null;
        }
        return checkpoint;
    }
It's wrote position is from start(HEADER_SIZE) but it's not the last file, SHOULD not happen.
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/log/RocksDBSegmentLogStorage.java