@Override
    public void run() {
        try {
            while (!isStopped()) {
                doAllocateFileInLock();
            }
        } catch (final InterruptedException ignored) {
        }
        onShutdown();
    }
Pre allocate abstractFile service
@author boyan(boyan@antfin.com), hzh (642256541@qq.com)
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/service/AllocateFileService.java