mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
034dc93e70
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 |
||
---|---|---|
.. | ||
bonsai_blob_mapping | ||
commit_graph | ||
deletion_log | ||
repo_bookmark_attrs | ||
repo_cross_repo | ||
repo_derived_data | ||
repo_derived_data_service | ||
repo_identity | ||
repo_lock | ||
repo_permission_checker | ||
repo_sparse_profiles | ||
sql_query_config |