Skip to content

ResetEmails repair step slows down app updates on systems with many guest users #1426

Description

@kesselb

Summary

The repair step ResetEmails runs when enabling or updating the app. On systems with many guest users, this can take quite some time, which in turn slows down the entire update process.

Expected behaviour

Resetting the email addresses should be handled in a way that does not impact the update process, for example by moving the logic to a command or performing it as a live migration.

Actual behaviour

The repair step significantly slows down the update process.

Server configuration

Nextcloud version: 30

Guest users: ~15k

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions