summary refs log tree commit diff
path: root/synapse/replication/slave/storage/devices.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-09-18 14:25:52 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-09-18 15:07:36 +0100
commit9eea5c43afb0e7e3fde47576be0ce931f17559f7 (patch)
treeaf5d868f120b9f55b42eb7db94ba078c387e1ac0 /synapse/replication/slave/storage/devices.py
parentUse _check_sigs_and_hash_and_fetch to validate backfill requests (#8350) (diff)
downloadsynapse-9eea5c43afb0e7e3fde47576be0ce931f17559f7.tar.xz
Intelligently select extremities used in backfill. (#8349)
Instead of just using the most recent extremities let's pick the
ones that will give us results that the pagination request cares about,
i.e. pick extremities only if they have a smaller depth than the
pagination token.

This is useful when we fail to backfill an extremity, as we no longer
get stuck requesting that same extremity repeatedly.
Diffstat (limited to 'synapse/replication/slave/storage/devices.py')
0 files changed, 0 insertions, 0 deletions