Load zstd before rocksdb
This commit is contained in:
parent
b2bfd0f23a
commit
1afa4c183a
@ -49,6 +49,9 @@ public class RocksDBLoader {
|
||||
System.loadLibrary(compressionType.getLibraryName());
|
||||
}
|
||||
} catch (final UnsatisfiedLinkError e) {
|
||||
if (compressionType == CompressionType.LZ4_COMPRESSION) {
|
||||
throw new IllegalStateException("Can't load LZ4", e);
|
||||
}
|
||||
if (compressionType == CompressionType.ZSTD_COMPRESSION) {
|
||||
throw new IllegalStateException("Can't load ZSTD", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user