element-hq / element-hq/matrix-authentication-service

Allow building of database indexes in the background

Open
#4,024 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
280
Forks
111
Avg merge
3d 1h
Merged PRs (30d)
25

Description

With larger deployments coming, we'll certainly need to create a bunch of indices on existing massive tables.

Maybe we should start thinking about dealing with constructing those indices at runtime, maybe not part of the migration? Synapse has something similar, we might want to take inspiration from it

…or we could just `CREATE INDEX CONCURRENTLY` from the migration and call it a day (and ask people to run migrations before rolling out)

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.