element-hq / element-hq/synapse

Clear out empty event_push_summary rows

Open
#13,875 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.