sapling/eden/mononoke/segmented_changelog
Stefan Filip f16a99af95 segmented_changelog: add IdMapVersion check to VersionStore
Summary:
We want to protect against races where we may have multiple writers with
different IdMap versions. We want IdMapVersions to be monotonous increasing.

The common race scenario is between tailers and seeder. We may have a tailer
that starts to updates while a seeder writes a version with a new idmap. The
tailer may try to write a version that has an old version of the idmap. We want
the tailer to fail in this case.

Reviewed By: krallin

Differential Revision: D27210035

fbshipit-source-id: 168c7c6f25622587071337df1172a12b799e0285
2021-03-31 10:29:36 -07:00
..
bench/concurrent_idmap third-party/rust: update tokio & tokio-stream 2021-03-10 11:01:28 -08:00
schemas segmented_changelog: rename DagBundle to SegmentedChangelogVersion 2021-03-10 12:15:52 -08:00
src segmented_changelog: add IdMapVersion check to VersionStore 2021-03-31 10:29:36 -07:00
types blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
Cargo.toml segmented_changelog: add jitter to periodic update start 2021-03-25 21:11:38 -07:00