sapling/eden/fs/store
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
..
git use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
hg use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
mononoke use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
test eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BackingStore.h implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
BlobAccess.cpp make open calls from fuse high priority 2020-03-17 02:31:25 -07:00
BlobAccess.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BlobCache.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt eden: enable rocksdb in the windows build 2020-05-01 10:33:32 -07:00
Diff.cpp Rename collectXSemiFuture to collectX 2020-04-03 17:15:08 -07:00
Diff.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
DiffContext.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffContext.h count fetch statistics during diff and checkout 2020-02-05 16:05:29 -08:00
eden_store_util.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
EmptyBackingStore.cpp add priority to BackingStore interface 2020-03-17 02:31:23 -07:00
EmptyBackingStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
ImportPriority.h implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
IObjectStore.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
IObjectStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
KeySpace.cpp bump the assertKeySpaceInvariants to a newer MSVC 2020-01-24 22:34:24 -08:00
KeySpace.h allow garbage collection of cached tree objects again 2020-01-23 17:33:43 -08:00
LocalStore.cpp add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
LocalStore.h clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
MemoryLocalStore.cpp restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
MemoryLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
ObjectStore.cpp implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
ObjectStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
RocksDbLocalStore.cpp collectX to collectUnsafe 2020-03-10 11:36:09 -07:00
RocksDbLocalStore.h add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
ScmStatusDiffCallback.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ScmStatusDiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SqliteLocalStore.cpp clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
SqliteLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
StatsFetchContext.cpp log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StatsFetchContext.h log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StoreResult.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
StoreResult.h Tidy up license headers 2019-10-11 05:28:23 -07:00