@Override
    public boolean init(LogStorageOptions opts) {
        Requires.requireNonNull(opts, "Null LogStorageOptions opts");
        Requires.requireNonNull(opts.getConfigurationManager(), "Null conf manager");
        Requires.requireNonNull(opts.getLogEntryCodecFactory(), "Null log entry codec factory");
        this.groupId = opts.getGroupId();
        this.logEntryDecoder = opts.getLogEntryCodecFactory().decoder();
        this.logEntryEncoder = opts.getLogEntryCodecFactory().encoder();
        this.writeLock.lock();
        try {
            if (this.defaultTable != null) {
                LOG.warn("BDBLogStorage init() already.");
                return true;
            }
            initAndLoad(opts.getConfigurationManager());
            return true;
        } catch (IOException | DatabaseException e) {
            LOG.error("Fail to init BDBLogStorage, path={}.", this.homePath, e);
        } finally {
            this.writeLock.unlock();
        }
        return false;
    }
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