public static LocalFileMeta.Builder saveSnapshot(final BaseRawKVStore<?> store, final String snapshotPath,
                                                     final Region region) throws Exception {
        final KVStoreSnapshotFile snapshotFile = KVStoreSnapshotFileFactory.getKVStoreSnapshotFile(store);
        return ((AbstractKVStoreSnapshotFile) snapshotFile).doSnapshotSave(snapshotPath, region, EXECUTOR).get();
    }
KV store test helper

@author jiachun.fjc
jraft-rheakv/rheakv-core/src/test/java/com/alipay/sofa/jraft/rhea/storage/KVStoreAccessHelper.java