Fix a bug in the background task for purging chain cover. (#9583)
parent
67b979bfa1
commit
918f6ed827
|
@ -0,0 +1 @@
|
|||
Purge chain cover indexes for events that were purged prior to Synapse v1.29.0.
|
|
@ -969,7 +969,7 @@ class EventsBackgroundUpdatesStore(SQLBaseStore):
|
|||
event_id = ""
|
||||
for event_id, chain_id, sequence_number, has_event in rows:
|
||||
if not has_event:
|
||||
unreferenced_event_ids.append(event_id)
|
||||
unreferenced_event_ids.append((event_id,))
|
||||
unreferenced_chain_id_tuples.append((chain_id, sequence_number))
|
||||
|
||||
# Delete the unreferenced auth chains from event_auth_chain_links and
|
||||
|
|
Loading…
Reference in New Issue