public static void loadSnapshot(final BaseRawKVStore<?> store, final String snapshotPath, final LocalFileMeta meta,
                                    final Region region) throws Exception {
        final KVStoreSnapshotFile snapshotFile = KVStoreSnapshotFileFactory.getKVStoreSnapshotFile(store);
        ((AbstractKVStoreSnapshotFile) snapshotFile).doSnapshotLoad(snapshotPath, meta, region);
    }
KV store test helper

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