You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the 👍 reaction to show that you are interested into the same feature.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
As a Nextcloud app developer I might identify missing database indices like nextcloud/mail#9160. Applying the indices in a migration means they are always added and tables with data block the migration for x seconds/minutes/hours depending on table size.
Describe the solution you'd like
Allow apps to hook into the optional indices API of server so that they can also advertise a missing, but optional index that admins can apply later on.
Describe alternatives you've considered
N/a
Additional context
This was started in #25471 but closed due to inactivity.
The text was updated successfully, but these errors were encountered:
When adding this API we might also consider adding support for replacing indices.
I noticed that occasionally we have indices that are not ideal. A migration could drop the old index (relatively cheap) and add the new one through this API (relatively expensive) but that means the instance is slow in the time between the two events. If the API took care of dropping, the time of slowness would be minimal.
How to use GitHub
Is your feature request related to a problem? Please describe.
As a Nextcloud app developer I might identify missing database indices like nextcloud/mail#9160. Applying the indices in a migration means they are always added and tables with data block the migration for x seconds/minutes/hours depending on table size.
Describe the solution you'd like
Allow apps to hook into the optional indices API of server so that they can also advertise a missing, but optional index that admins can apply later on.
Describe alternatives you've considered
N/a
Additional context
This was started in #25471 but closed due to inactivity.
The text was updated successfully, but these errors were encountered: