Skip to content

Store (threading) message IDs as hashes only #12877

@ChristophWurst

Description

@ChristophWurst

Is your feature request related to a problem? Please describe.

Message IDs can be long, like ~1kB. They take up a lot of space in the database.

Describe the solution you'd like

For threading, message IDs are only used for full comparison. We can normalize them with a simple hash function to 32B, for example, and shorten the DB column. The threading algorithm would still work.

Migration is heavy as we need to rewrite existing data.

Describe alternatives you've considered

No response

Additional context

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions