Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

we create redundant state groups when we get a no-op membership update #3791

@richvdh

Description

@richvdh

here: if we decide that the new membership event is a duplicate, we throw it away; however, by that point we have already created a state group for it.

These state groups show up in the database with entries in state_groups and state_groups_state, but the event referred to in state_groups is not present in events or anywhere else.

I think this is probably responsible for quite a lot of the state group blowup on IRC-bridged rooms on matrix.org.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Disk-Spacethings which fill up the diskO-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.z-minor(Deprecated Label)z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions