MatrixSynapse/synapse/federation
Richard van der Hoff 878aa55293
`FederationClient.backfill`: stop flagging events as outliers (#11632)
Events returned by `backfill` should not be flagged as outliers.

Fixes:

```
AssertionError: null
  File "synapse/handlers/federation.py", line 313, in try_backfill
    dom, room_id, limit=100, extremities=extremities
  File "synapse/handlers/federation_event.py", line 517, in backfill
    await self._process_pulled_events(dest, events, backfilled=True)
  File "synapse/handlers/federation_event.py", line 642, in _process_pulled_events
    await self._process_pulled_event(origin, ev, backfilled=backfilled)
  File "synapse/handlers/federation_event.py", line 669, in _process_pulled_event
    assert not event.internal_metadata.is_outlier()
```

See https://sentry.matrix.org/sentry/synapse-matrixorg/issues/231992

Fixes #8894.
2022-01-04 16:31:32 +00:00
..
sender Add most of the missing type hints to `synapse.federation`. (#11483) 2021-12-02 16:18:10 +00:00
transport Improve opentracing for incoming HTTP requests (#11618) 2021-12-20 17:45:03 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation_base.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
federation_client.py `FederationClient.backfill`: stop flagging events as outliers (#11632) 2022-01-04 16:31:32 +00:00
federation_server.py Add missing type hints to `synapse.logging.context` (#11556) 2021-12-14 17:35:28 +00:00
persistence.py Add most of the missing type hints to `synapse.federation`. (#11483) 2021-12-02 16:18:10 +00:00
send_queue.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
units.py Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00