sapling/eden/fs/store
Genevieve Helsel 8b057b96e2 use shared pointers in HgImportRequestQueue
Summary: This diff sets up the ability for us to track requests as they are shuffled around in the `std::vector<> queue`. Since the queue is a vector, and since it is sorted everytime a new element is added or removed, we cannot keep track of elements in the queue with indices or references. Instead, we will store the requests in a shared_ptr so we can maintain a pointer to the request no matter where the request is moved around to.

Reviewed By: kmancini

Differential Revision: D26355907

fbshipit-source-id: d714d689963106a4f495221dbcfcbab758ffc7b2
2021-02-25 09:19:49 -08:00
..
git model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
hg use shared pointers in HgImportRequestQueue 2021-02-25 09:19:49 -08:00
test Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
BackingStore.h enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
BackingStoreLogger.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
BackingStoreLogger.h add fetch type to data fetch logging 2020-08-21 17:38:14 -07:00
BlobAccess.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
BlobAccess.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -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 remove Mononoke usage in HgBackingStore 2020-05-05 20:59:02 -07:00
Diff.cpp remove dependency on glog 2020-11-10 16:31:15 -08: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 eden: use fmt::format instead of folly::to 2020-09-23 21:14:20 -07:00
EmptyBackingStore.cpp enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
EmptyBackingStore.h enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
ImportPriority.h Add noexcept around ImportPriority 2021-01-27 00:33:18 -08:00
IObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
KeySpace.cpp eden: fix compilation on latest vs2017 2020-05-06 15:05:37 -07:00
KeySpace.h Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
LocalStore.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
LocalStore.h tree metdata storage 2020-07-10 16:03:32 -07: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
ObjectFetchContext.cpp add ObjectFetchContext with causeDetail field 2020-09-01 03:39:18 -07:00
ObjectFetchContext.h enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
ObjectStore.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
ObjectStore.h win: remove ProcessNameCache from Stub.h 2020-09-14 19:25:48 -07:00
PathLoader.cpp add eden glob command 2021-02-23 19:58:03 -08:00
PathLoader.h add eden glob command 2021-02-23 19:58:03 -08:00
RocksDbLocalStore.cpp open all RocksDB column families for backwards compatabiliy 2020-07-09 10:28:14 -07:00
RocksDbLocalStore.h add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
ScmStatusDiffCallback.cpp Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
ScmStatusDiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.cpp introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00
SerializedBlobMetadata.h introduce tree metadata storage in local store 2020-07-10 16:03:32 -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 remove dependency on glog 2020-11-10 16:31:15 -08:00
StatsFetchContext.h logging for thrift object fetch: checkout 2020-07-26 23:09:40 -07: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
TreeMetadata.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
TreeMetadata.h introduce tree metadata storage in local store 2020-07-10 16:03:32 -07:00