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

Revert the deletion of stale devices due to performance issues.#14662

Merged
reivilibre merged 3 commits into
developfrom
rei/revert_del_stale_take2
Dec 12, 2022
Merged

Revert the deletion of stale devices due to performance issues.#14662
reivilibre merged 3 commits into
developfrom
rei/revert_del_stale_take2

Conversation

@reivilibre
Copy link
Copy Markdown
Contributor

Follows: #14649, #14595

Unfortunately the new feature that deletes stale devices (to try and prevent performance problems as they accumulate) has been giving us performance problems.

I propose that we revert it for now because it'd be too risky to try and make minor tweaks to it and still release it right before xmas.

Original commit schedule, with full messages:

  1. Revert "Limit the number of devices we delete at once (Limit the number of devices we delete at once #14649)"
    This reverts commit 94bc21e.

  2. Revert "Delete stale non-e2e devices for users, take 2 (Delete stale non-e2e devices for users, take 2 #14595)"
    This reverts commit c2de2ca.

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
@reivilibre reivilibre changed the title (remove from changelog: unreleased) Revert the deletion of stale devices due to performance issues. Revert the deletion of stale devices due to performance issues. Dec 12, 2022
@reivilibre reivilibre marked this pull request as ready for review December 12, 2022 11:15
@reivilibre reivilibre requested a review from a team as a code owner December 12, 2022 11:15
Copy link
Copy Markdown
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we understand the perf problems from the this version of the patch?

@reivilibre
Copy link
Copy Markdown
Contributor Author

Do we understand the perf problems from the this version of the patch?

No, afraid that knowledge is likely locked up in Erik's head.

@reivilibre reivilibre merged commit 74b89c2 into develop Dec 12, 2022
@reivilibre reivilibre deleted the rei/revert_del_stale_take2 branch December 12, 2022 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants