sapling/eden/fs
Wez Furlong 5537225a02 eden: enable rocksdb in the windows build
Summary:
In the initial stages of the windows port we had
problems building rocksdb on windows, so we disabled it.

These days we're able to build it and detect it--we even
require it in the cmake code, but hadn't gotten around
to telling the rest of the code that we can use it.

This commit re-enables it in the build but leaves sqlite
as the default engine until we're able to perform some
benchmarking.

Rocksdb itself has some build issues on Windows; it doesn't
use cmake to locate dependencies, so even though we built
snappy it doesn't know how to find it without modifying the
source:
https://github.com/facebook/rocksdb/blob/master/thirdparty.inc#L4

For that reason, we disable the use of Snappy in the Windows build.
However, in the version of rocksdb that we were using, it would
default to trying to use Snappy even though it wasn't compiled in
and throw an exception.

I've upgraded to a newer version of rocksdb that will simply not
use compression if no compression was enabled at build time.

Given that we mostly store relatively small objects, I'm assuming
that the lack of compression is fine for now.

Reviewed By: xavierd

Differential Revision: D21319896

fbshipit-source-id: 2a2d06d4bd5382706e9220f9b4a2de99dc18311d
2020-05-01 10:33:32 -07:00
..
benchharness Tidy up license headers 2019-10-11 05:28:23 -07:00
cli introduce eden uptime command 2020-04-28 18:25:03 -07:00
config use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
fuse use a single static table for the fuse access type lookup 2020-04-30 10:20:45 -07:00
inodes disallow setting suid, sgid, and sticky bits 2020-04-30 15:18:35 -07:00
journal rename tracing to telemetry 2019-10-15 13:39:41 -07:00
model switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
monitor move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
notifications eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
py Add new workloads to fiosynth 2020-04-30 21:50:17 -07:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
service eden: enable rocksdb in the windows build 2020-05-01 10:33:32 -07:00
sqlite silence some msvc warnings from sqlite.{h,cpp} 2020-04-26 21:14:24 -07:00
store eden: enable rocksdb in the windows build 2020-05-01 10:33:32 -07:00
takeover add EdenServer recovery step and recover after failed takeover data send handshake 2020-04-07 09:52:21 -07:00
telemetry switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
testharness move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
utils switch from folly benchmark to google benchmark 2020-04-30 09:36:01 -07:00
win unify the StartupLogger code on Windows and POSIX 2020-04-30 23:36:49 -07:00
CMakeLists.txt eden: enable rocksdb in the windows build 2020-05-01 10:33:32 -07:00