@Override
    public LogStorage createLogStorage(final String uri, final RaftOptions raftOptions) {
        Requires.requireTrue(StringUtils.isNotBlank(uri), "Blank log storage uri.");

        // Create old storage if needed
        LogStorage oldStorage = null;
        if (raftOptions.isStartupOldStorage()) {
            oldStorage = super.createLogStorage(uri, raftOptions);
        }

        String newStoragePath = Paths.get(uri, NEW_STORAGE_PATH).toString();
        return new HybridLogStorage(newStoragePath, new StoreOptions(), oldStorage);
    }
Extends from DefaultJRaftServiceFactory, Overwrite createLogStorage() to create a HybridLogStorage
@author hzh (642256541@qq.com)
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/core/HybridLogJRaftServiceFactory.java