summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-04 20:38:08 -0700
committerBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-04 20:38:08 -0700
commita2b7102eea23572c8a3619704f5f5c3f21a8edcd (patch)
treec36df46b44c7053ff6b9d8e22706ffa8e4bf97b6 /synapse/storage/events.py
parentMerge pull request #973 from matrix-org/erikj/xpath_fix (diff)
downloadsynapse-a2b7102eea23572c8a3619704f5f5c3f21a8edcd.tar.xz
Tweak integrity error recovery to work as intended
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py

index 340c0621cc..643c3aed2a 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py
@@ -580,6 +580,7 @@ class EventsStore(SQLBaseStore): for table in ( "events", + "event_auth", "event_json", "event_content_hashes", "event_destinations", @@ -593,6 +594,8 @@ class EventsStore(SQLBaseStore): "event_to_state_groups", "rejections", "redactions", + "room_memberships", + "state_events" ): txn.executemany( "DELETE FROM %s WHERE event_id = ?" % (table,),