diff options
author | Eric Eastwood <erice@element.io> | 2022-09-22 14:26:58 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-22 14:26:58 -0500 |
commit | 5a5c3246f4f76257b9fd5118fc043775c3c3f6fd (patch) | |
tree | f944953340b4e1bcdd7d96d12d7e494f0d0366c8 | |
parent | Try sort backfill points by tie breaking on stream_ordering (diff) | |
download | synapse-5a5c3246f4f76257b9fd5118fc043775c3c3f6fd.tar.xz |
Scratch try different orders just to see how the tests pass differently
-rw-r--r-- | synapse/handlers/federation.py | 2 | ||||
-rw-r--r-- | synapse/handlers/federation_event.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 223f343f1a..87c186c0c6 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -387,7 +387,7 @@ class FederationHandler: ) return False - logger.debug( + logger.info( "_maybe_backfill_inner: extremities_to_request %s", extremities_to_request ) set_attribute( diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py index 5aaf2dd9e0..53344afa6c 100644 --- a/synapse/handlers/federation_event.py +++ b/synapse/handlers/federation_event.py @@ -695,7 +695,9 @@ class FederationEventHandler: await self._process_pulled_events( dest, + # Expecting to persist in chronological order here (oldest -> newest) chronological_events, + # reverse_chronological_events, backfilled=True, ) |