sapling/eden
Yan Soares Couto fa62db64d2 Create EphemeralRepoView and Ephemeral Changesets impl
Summary:
This diff is a step towards uploading snapshots to the ephemeral blobstore.

It adds:
- EphemeralChangesets implementation. This is the trait used for storing changesets, and also their generation numbers. Here we are using a SQL table to store mappings between snapshots and bubbles, as well as their generation number. It fetches information from the blobstore as well, which is different from "non-snapshots" as well, but this can be later optimised to use another table if necessary.
- EphemeralRepoView, a container that has a changesets object and a repo_blobstore, both of which first check the ephemeral blobstore, and then the persistent blobstore, and are useful for dealing with snapshots.

Reviewed By: StanislavGlebik

Differential Revision: D30370979

fbshipit-source-id: bf8e1d3c111d307c1ffbad56e1255a77a4871591
2021-08-23 04:28:24 -07:00
..
fs Let SetPathRootId support file 2021-08-20 17:11:23 -07:00
hg-server Moving thrift targets 2021-08-17 06:49:44 -07:00
integration suppress errors in fbcode/eden - batch 1 2021-08-17 19:11:40 -07:00
locale
mononoke Create EphemeralRepoView and Ephemeral Changesets impl 2021-08-23 04:28:24 -07:00
scm treemanifest: remove prefetchdraftparents 2021-08-20 22:05:25 -07:00
test_support test_support: canonicalize the temporary directory path 2021-08-16 16:08:45 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore
Eden.project.toml