facebook / facebook/rocksdb

Rocksdb requires snappy even I specified use zlib

Open
#5,321 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

> Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://www.facebook.com/groups/rocksdb.dev

### Expected behavior
Hi, on the windows 10 and VS2019, I've compiled rocksdb with `-DWITH_ZLIB=ON` and linked to ZLIB, but when test the simple_example.cc, it'failed with `DB::Open` and the error is` "Compression type Snappy is not linked with the binary". `

Before `DB::Open` I've added "`options.compression = CompressionType::kZlibCompression`", but still got the same error.

How can I use the zlib to instead of snappy ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.