private void syncIfNeed() {
        if (sync) {
            this.environment.sync();
        }
    }
First log index and last log index key in configuration column family.
jraft-extension/bdb-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/impl/BDBLogStorage.java