sapling/eden
Xavier Deguillard c88363c998 store: remove BlobMetadata computation/caching when getting blob
Summary:
EdenFS contains several layers of caching for BlobMetadata:
 - In the hgcache,
 - In the in-memory BlobMetadata cache,
 - In the LocalStore (configurable),
 - In the FileInode,
 - In the TreeEntry,

All of the above must be filled prior to reading a blob, therefore computing
the sha1+size when reading a blob is likely not needed and superfluous.

Alternatively, we could move the code to be done in the background in the
LocalStoreCachedBackingStore to avoid blocking reading the blob. Reviewers
opinions are welcome!

Reviewed By: chadaustin

Differential Revision: D45625432

fbshipit-source-id: ad7d897c32cbfd590dce5a3a9c8073349e9b70c8
2023-05-24 10:26:51 -07:00
..
fs store: remove BlobMetadata computation/caching when getting blob 2023-05-24 10:26:51 -07:00
integration add OBJECT_ID attribute to getAttributesFromFilesV2 2023-05-23 19:12:06 -07:00
locale
mononoke Modify bookmark get admin command to handle annotated tags 2023-05-24 07:11:26 -07:00
scm remotefilelog: remove unnecessary file ancestor process 2023-05-23 19:31:53 -07:00
test_support asyncio loop vars for 3.10 2023-05-01 10:56:58 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib auth: don't load certs if auth proxy enabled 2023-05-09 09:53:48 -07:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml