anonymousland-synapse/synapse
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
..
_scripts Add type hints to synapse._scripts (#11297) 2021-11-10 17:55:32 +00:00
api Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
app Return JSON errors for unknown resources under /matrix/client. (#11602) 2021-12-20 16:00:13 +00:00
appservice Add missing type hints to synapse.appservice (#11360) 2021-12-14 17:02:46 +00:00
config Include the topic event in the prejoin state, per MSC3173. (#11666) 2022-01-04 11:08:08 -05:00
crypto Fix perspectives requests for multiple keys for the same server (#11440) 2021-11-29 13:15:36 +00:00
events Do not bundle aggregations for APIs which shouldn't include them. (#11592) 2021-12-20 14:14:38 -05:00
federation FederationClient.backfill: stop flagging events as outliers (#11632) 2022-01-04 16:31:32 +00:00
groups Add type annotations to synapse.metrics (#10847) 2021-11-17 19:07:02 +00:00
handlers FederationClient.backfill: stop flagging events as outliers (#11632) 2022-01-04 16:31:32 +00:00
http Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
logging Update to the current version of Black and run it on Synapse codebase (#11596) 2021-12-23 20:22:15 -08:00
metrics Add type annotations to synapse.metrics (#10847) 2021-11-17 19:07:02 +00:00
module_api Fix ModuleApi.looping_background_call for non-async functions (#11524) 2021-12-07 11:41:31 +00:00
push Add type hints to event_push_actions. (#11594) 2021-12-21 13:25:34 +00:00
replication Remove redundant get_current_events_token (#11643) 2022-01-04 16:10:27 +00:00
res Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
rest Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
server_notices disallow-untyped-defs for synapse.server_notices (#11021) 2021-10-07 19:55:15 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Remove redundant get_current_events_token (#11643) 2022-01-04 16:10:27 +00:00
streams Remove unnecessary parentheses around tuples returned from methods (#10889) 2021-09-23 11:59:07 +01:00
util Update to the current version of Black and run it on Synapse codebase (#11596) 2021-12-23 20:22:15 -08:00
__init__.py 1.49.2 2021-12-21 17:32:16 +00:00
event_auth.py Check *all* auth events for room id and rejection (#11009) 2021-10-18 18:28:30 +01:00
notifier.py Convert EventStreamResult to attrs. (#11574) 2021-12-15 11:10:02 -05:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Pin to frozendict<2.1.2 (#11625) 2021-12-21 17:26:04 +00:00
server.py Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 2021-12-02 01:02:20 -06:00
types.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00