Add a slaved events store class
Add a test to check that get_room_names_and_aliases does the same thing on both the master and on the slave data store.
Showing
- synapse/replication/slave/__init__.py 14 additions, 0 deletionssynapse/replication/slave/__init__.py
- synapse/replication/slave/storage/__init__.py 14 additions, 0 deletionssynapse/replication/slave/storage/__init__.py
- synapse/replication/slave/storage/_base.py 28 additions, 0 deletionssynapse/replication/slave/storage/_base.py
- synapse/replication/slave/storage/_slaved_id_tracker.py 30 additions, 0 deletionssynapse/replication/slave/storage/_slaved_id_tracker.py
- synapse/replication/slave/storage/events.py 198 additions, 0 deletionssynapse/replication/slave/storage/events.py
- synapse/storage/events.py 2 additions, 2 deletionssynapse/storage/events.py
- tests/replication/slave/__init__.py 14 additions, 0 deletionstests/replication/slave/__init__.py
- tests/replication/slave/storage/__init__.py 14 additions, 0 deletionstests/replication/slave/storage/__init__.py
- tests/replication/slave/storage/_base.py 57 additions, 0 deletionstests/replication/slave/storage/_base.py
- tests/replication/slave/storage/test_events.py 114 additions, 0 deletionstests/replication/slave/storage/test_events.py
Loading
Please register or sign in to comment