element-hq / element-hq/synapse
Clear out empty event_push_summary rows
Open
A-Threads
O-Uncommon
S-Tolerable
T-Task
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#13875](https://github.com/matrix-org/synapse/issues/13875).
---
After #13776 we generate a row in `event_push_summary` per (user, room, thread). If a receipt marks a thread as completely read then the summary is (somewhat) useless as the `notif_count` and `unread_count` would be 0.
It might make sense to clean these up eventually to avoid the table growing too large.
There's some conversation about this at https://github.com/matrix-org/synapse/pull/13776#discussion_r969598225.
Contributor guide
Assessment
This issue has not been assessed yet.