private boolean initBlankFiles() {
        for (AllocatedResult ret : this.blankSegments) {
            final SegmentFile segmentFile = ret.segmentFile;
            final SegmentFileOptions opts = SegmentFileOptions.builder() //
                .setSync(false) //
                .setRecover(false) //
                .setLastFile(true) //
                .build();

            if (!segmentFile.init(opts)) {
                LOG.error("Fail to load blank segment file {}.", segmentFile.getPath());
                segmentFile.shutdown();
                return false;
            }
        }
        return true;
    }
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