sapling/eden/mononoke/cmds
Alex Hornby 48900ae545 mononoke: predicate based PutBehaviour logic to manifoldblob
Summary:
Add predicate based PutBehaviour logic to manifoldblob.

This will prevent overwrites of keys when in IfAbsent mode, and will generate useful logging in OverwriteAndLog and IsAbsent mode.

This change factors our part of the put logic to put_check_conflict, so that it can use re-used from each of the PutBehaviour cases.

Reviewed By: StanislavGlebik

Differential Revision: D24021170

fbshipit-source-id: d2e71afadada3d5e661634449108e6c9f8dc5907
2020-10-12 07:12:10 -07:00
..
admin mononoke: remove Preserved state 2020-10-12 03:43:14 -07:00
backfill_derived_data remove uneeded locks 2020-09-15 06:35:58 -07:00
benchmark_storage_config mononoke: add cmdlib argument to control cachelib zstd compression 2020-07-31 01:12:02 -07:00
blobrepo_checker Regenerate all Cargo.tomls after upgrade to futures 0.3.5 2020-07-06 20:49:43 -07:00
blobstore_healer commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
bonsai_verify move existing changeset derivation logic to mercurial_derived_data 2020-09-09 07:56:32 -07:00
manual_scrub Have manual_scrub continue on errors, writing out files to let you retry instead 2020-09-09 07:25:13 -07:00
streaming_clone_warmup utility to keep streaming clone data warm 2020-09-01 07:13:33 -07:00
tests remediation of S205607 2020-07-17 17:16:13 -07:00
aliasverify.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
backfill_git_mapping.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
benchmark_filestore.rs mononoke: predicate based PutBehaviour logic to manifoldblob 2020-10-12 07:12:10 -07:00
blobimport.rs Prepare for rustfmt 2.0 2020-09-08 07:33:16 -07:00
configlint.rs metaconfig/parser: use free functions for loading configuration 2020-06-02 09:30:03 -07:00
dumprev.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
idxdump.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
lfs_import.rs rust: Rename futures_preview:: to futures:: 2020-03-03 11:01:20 -08:00
populate_healer.rs mononoke: predicate based PutBehaviour logic to manifoldblob 2020-10-12 07:12:10 -07:00
rechunker.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
revlogrepo.rs Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
segmented_changelog_seeder.rs cmds: add segmented_changelog seeder 2020-10-08 09:43:47 -07:00
statistics_collector.rs Update formatter to rustfmt 2.0 2020-09-09 07:52:33 -07:00
upload_globalrevs.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00