sapling/eden/mononoke/repo_attributes
Youssef Ibrahim 034dc93e70 commit_graph: use fetch_edges_required and fetch_many_edges_required everywhere except in exists, changeset_parents and changeset_generation
Summary: Some of the usages of the commit graph (e.g. in pushrebase) query very recent commits that might not have been fully replicated in xdb yet. This diff switches to using fetch_edges_required and fetch_many_edges_required everywhere except in exists, changeset_parents and changeset_generation, to avoid any errors caused by replication lag. This shouldn't cause any performance degredation as we always use the normal read connection first and only query master in the rare case that a commit is missing from replicas.

Reviewed By: mitrandir77

Differential Revision: D46842804

fbshipit-source-id: 3822d883b079447d0af90c9169cd3db7600f9b25
2023-06-19 14:20:27 -07:00
..
bonsai_blob_mapping non-oss work 67/n 2023-06-02 02:52:32 -07:00
commit_graph commit_graph: use fetch_edges_required and fetch_many_edges_required everywhere except in exists, changeset_parents and changeset_generation 2023-06-19 14:20:27 -07:00
deletion_log Update strum and enable the derive feature 2023-06-13 03:32:44 -07:00
repo_bookmark_attrs Rename BookmarkName to BookmarkKey 2023-02-22 08:53:04 -08:00
repo_cross_repo separate synced commit mapping into its own facet 2022-12-05 03:56:26 -08:00
repo_derived_data derived_data_manager: add CommitGraph to DerivedDataManager 2023-04-28 10:24:20 -07:00
repo_derived_data_service derived_data_manager: add CommitGraph to DerivedDataManager 2023-04-28 10:24:20 -07:00
repo_identity reorder import groups 2022-08-04 13:24:30 -07:00
repo_lock Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
repo_permission_checker tunables: optionify tunables and remove get_ prefix 2023-02-09 08:43:11 -08:00
repo_sparse_profiles Update tokio-1.21.2 to tokio-1.25.0 2023-01-30 14:49:36 -08:00
sql_query_config caching_ext: add cache handler factory 2023-03-01 02:10:41 -08:00