private void doAllocateFileInLock() throws InterruptedException {
        this.allocateLock.lock();
        try {
            while (this.blankFiles.size() >= this.storeOptions.getPreAllocateFileCount()) {
                this.fullCond.await();
            }
            doAllocateFile0();
            this.emptyCond.signal();
        } finally {
            this.allocateLock.unlock();
        }
    }
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