public long getFirstLogIndex() {
        return this.fileManager.getFirstLogIndex();
    }
Flush db files and wait for flushPosition >= maxExpectedFlushPosition
@return true if flushPosition >= maxExpectedFlushPosition
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/db/AbstractDB.java