sapling/eden/fs/store
Adam Simpkins 2faa637da5 move some logic from RocksHandles to RocksDbLocalStore
Summary:
This moves some logic from the RocksHandles class up to RocksDbLocalStore.
The main thing moved here is the logic to automatically try and repair the DB
if opening fails.  This will make it easier in a subsequent diff to make the
repair logic a bit smarter and more aware of our column family semantics.

This keeps RocksHandles a pretty dumb wrapper around the RocksDB object and
column family handles, whose only purpose is to manage destroying these two
things in the correct order.

Reviewed By: chadaustin

Differential Revision: D15043208

fbshipit-source-id: ee2d5619ac7781a892e1ba151712eee9e3ebfb14
2019-04-24 20:03:57 -07:00
..
git eden: cmake fixup include directories and deps 2019-03-28 20:57:17 -07:00
hg eden: speculative fix for accidental copy 2019-04-17 21:03:54 -07:00
mononoke add curl verbose logging 2019-04-22 18:47:29 -07:00
test split rocksdb store tests into a separate target 2019-04-18 19:36:19 -07:00
BackingStore.h remove fallback for correcting empty files 2018-10-22 20:27:26 -07:00
BlobAccess.cpp add a BlobAccess API for stateless blob reading 2018-11-26 10:46:51 -08:00
BlobAccess.h add a BlobAccess API for stateless blob reading 2018-11-26 10:46:51 -08:00
BlobCache.cpp only evict when interest handle is dropped if blob wasn't reloaded 2018-12-10 19:30:28 -08:00
BlobCache.h only evict when interest handle is dropped if blob wasn't reloaded 2018-12-10 19:30:28 -08:00
BlobMetadata.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
CMakeLists.txt rename eden_gc to eden_store_util 2019-04-24 20:03:57 -07:00
Diff.cpp Future<T>::then Future<T>::then() -> Future<T>::thenValue or thenTry. 2018-09-14 17:10:57 -07:00
Diff.h add a function for diffing source control commits 2018-03-20 16:47:12 -07:00
eden_store_util.cpp rename eden_gc to eden_store_util 2019-04-24 20:03:57 -07:00
EmptyBackingStore.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
EmptyBackingStore.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
IObjectStore.h clang-format 2018-10-02 10:07:38 -07:00
LocalStore.cpp add kEmptySha1 hash constant 2018-11-28 16:16:16 -08:00
LocalStore.h Delete unused forward declaration 2019-04-08 11:20:55 -07:00
MemoryLocalStore.cpp pass ReloadableConfig through to LocalStore 2018-11-09 11:22:03 -08:00
MemoryLocalStore.h pass ReloadableConfig through to LocalStore 2018-11-09 11:22:03 -08:00
ObjectStore.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
ObjectStore.h add an in-memory LRU for blob metadata 2018-10-22 20:27:27 -07:00
RocksDbLocalStore.cpp move some logic from RocksHandles to RocksDbLocalStore 2019-04-24 20:03:57 -07:00
RocksDbLocalStore.h remove the code that flushes all RocksDB columns on startup 2019-04-16 11:01:25 -07:00
SerializedBlobMetadata.cpp move SerializedBlobMetadata into its own file 2018-10-31 11:50:39 -07:00
SerializedBlobMetadata.h move SerializedBlobMetadata into its own file 2018-10-31 11:50:39 -07:00
SqliteLocalStore.cpp pass ReloadableConfig through to LocalStore 2018-11-09 11:22:03 -08:00
SqliteLocalStore.h pass ReloadableConfig through to LocalStore 2018-11-09 11:22:03 -08:00
StoreResult.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
StoreResult.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00