sapling/eden/fs/docs
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
..
.tours windows write path code tour 2023-04-04 11:12:24 -07:00
img check in some high-level design documentation for EdenFS 2020-05-15 18:08:47 -07:00
Caching.md move docs/ into eden/fs/ 2020-05-04 12:34:47 -07:00
Config.md move docs/ into eden/fs/ 2020-05-04 12:34:47 -07:00
Data_Model.md fix typos and grammatical errors in data model docs 2021-11-23 11:07:09 -08:00
Futures.md add a doc describing our use of Future types 2021-10-20 13:48:27 -07:00
Globbing.md Update Globbing doc headings to use title case 2021-11-24 08:31:59 -08:00
Glossary.md rename diskMaterialized 2023-02-06 16:55:36 -08:00
InodeLifetime.md edit InodeLifetime documentation grammar 2021-11-29 11:04:47 -08:00
InodeLocks.md inodes: release EdenMount parentLock during checkout 2022-01-20 13:28:12 -08:00
Inodes.md Fix wording in Inode Number Allocation eden documentation 2022-07-19 16:37:49 -07:00
InodeStorage.md move docs/ into eden/fs/ 2020-05-04 12:34:47 -07:00
Overview.md add information about NFS in EdenFS Overview docs 2022-10-21 14:36:16 -07:00
Paths.md utils: AbsolutePath are always UNC on Windows 2022-11-08 08:49:16 -08:00
Process_State.md store: remove BlobMetadata computation/caching when getting blob 2023-05-24 10:26:51 -07:00
Redirections.md check in some high-level design documentation for EdenFS 2020-05-15 18:08:47 -07:00
Rename.md move docs/ into eden/fs/ 2020-05-04 12:34:47 -07:00
Takeover.md Update takeover documentation for recent updates 2022-01-31 13:13:10 -08:00
Threading.md move docs/ into eden/fs/ 2020-05-04 12:34:47 -07:00
Windows.md docs: add some documentation for the inner working of Windows 2022-07-08 17:59:04 -07:00
WindowsFsck.md document the ways FSCK was broken and the ways we have fixed it. 2023-03-14 11:47:32 -07:00