sapling/eden/mononoke/cmds
Stanislau Hlebik e308419b58 RFC mononoke: limit number of filenodes get_all_filenodes_maybe_stale
Summary:
In a repository with files with large histories we run into a lot of SqlTimeout
errors while fetching file history to serve getpack calls. However fetching the
whole file history is not really necessary - client knows how to work with
partial history i.e. if client misses some portion of history then it would
just fetch it on demand.

This diff adds way to add a limit on how many entries were going to be fetched, and if more entries were fetched then we return FilenodeRangeResult::TooBig. The downside of this diff is that we'd have to do more sequential database
queries.

Reviewed By: krallin

Differential Revision: D23025249

fbshipit-source-id: ebed9d6df6f8f40e658bc4b83123c75f78e70d93
2020-08-12 14:33:43 -07:00
..
admin RFC mononoke: limit number of filenodes get_all_filenodes_maybe_stale 2020-08-12 14:33:43 -07:00
backfill_derived_data mononoke: add an option to disable leases in backfill_derive_data 2020-07-27 07:13:30 -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 Give the blobstore healer a way to cope with temporary falls in MySQL capacity 2020-08-10 15:24:13 -07:00
bonsai_verify Switch Blobstore to new-style futures 2020-06-26 03:54:42 -07:00
manual_scrub mononoke: add task spawning to manual_scrub 2020-08-12 01:31:03 -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: add cmdlib argument to control cachelib zstd compression 2020-07-31 01:12:02 -07:00
blobimport.rs mononoke: blobimport record highest imported generation number 2020-08-12 08:50:35 -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 Fully asyncify blobstore sync queue 2020-08-05 15:41:15 -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
statistics_collector.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00
upload_globalrevs.rs Switch Loadable and Storable interfaces to new-style futures 2020-06-25 08:45:37 -07:00