-
- Downloads
Reintroduce #17291. (#17338)
This is #17291 (which got reverted), with some added fixups, and change so that tests actually pick up the error. The problem was that we were not calculating any new chain IDs due to a missing `not` in a condition.
Showing
- changelog.d/17338.misc 1 addition, 0 deletionschangelog.d/17338.misc
- synapse/storage/controllers/persist_events.py 12 additions, 0 deletionssynapse/storage/controllers/persist_events.py
- synapse/storage/databases/main/event_federation.py 14 additions, 6 deletionssynapse/storage/databases/main/event_federation.py
- synapse/storage/databases/main/events.py 180 additions, 71 deletionssynapse/storage/databases/main/events.py
- tests/storage/test_event_chain.py 8 additions, 1 deletiontests/storage/test_event_chain.py
- tests/storage/test_event_federation.py 33 additions, 11 deletionstests/storage/test_event_federation.py
- tests/unittest.py 2 additions, 0 deletionstests/unittest.py
Loading
Please register or sign in to comment