mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
482c2d8dfd
Summary: Update `RocksDbLocalStore::getApproximateSize()` to use `DB::GetIntProperty()` rather than `DB::GetApproximateSizes()`. The `GetIntProperty()` call reports properties about the overall column family, as opposed to `GetApproximateSizes()` which supports querying size information for specific key ranges. We always want data about the full table, so the `GetIntProperty()` call seems to make more sense for us. Also change the code to include both the SST file size (which we were querying before) and the memtable size (which was not included before). The `GetApproximateSizes()` call allow this to be queried too, but using `GetIntProperty()` still seems better since we don't care about a specific key range. Reviewed By: wez Differential Revision: D15798506 fbshipit-source-id: 86d087876d838c0ff4ae517ccac2e8b8bf31e304 |
||
---|---|---|
.. | ||
git | ||
hg | ||
mononoke | ||
test | ||
BackingStore.h | ||
BlobAccess.cpp | ||
BlobAccess.h | ||
BlobCache.cpp | ||
BlobCache.h | ||
BlobMetadata.h | ||
CMakeLists.txt | ||
Diff.cpp | ||
Diff.h | ||
eden_store_util.cpp | ||
EmptyBackingStore.cpp | ||
EmptyBackingStore.h | ||
IObjectStore.h | ||
KeySpaces.h | ||
LocalStore.cpp | ||
LocalStore.h | ||
MemoryLocalStore.cpp | ||
MemoryLocalStore.h | ||
ObjectStore.cpp | ||
ObjectStore.h | ||
RocksDbLocalStore.cpp | ||
RocksDbLocalStore.h | ||
SerializedBlobMetadata.cpp | ||
SerializedBlobMetadata.h | ||
SqliteLocalStore.cpp | ||
SqliteLocalStore.h | ||
StoreResult.cpp | ||
StoreResult.h |