Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting users with a lot of records can lead to orphans #1674

Open
pixeldesu opened this issue Mar 17, 2024 · 0 comments
Open

Deleting users with a lot of records can lead to orphans #1674

pixeldesu opened this issue Mar 17, 2024 · 0 comments
Labels
bug Issues containing bug reports critical Critical topics that should be handled as soon as possible

Comments

@pixeldesu
Copy link
Member

Steps to reproduce the problem

  1. A (large) user deletes themselves

Expected behaviour

Nothing impacts other users.

Actual behaviour

Some user profiles and home/timeline pages break.

Detailed description

This happens because not all relations seem to be deleted properly. Prevalent with users that have a lot of records on them.

I'm not exactly sure what's the reason for this, we don't have any error logs or failures from Sidekiq and the likes that back up that the async destruction jobs outright fail or something (but we should maybe check that).

I assume that something with our relation chains is broken. I don't really find documentation on that, but maybe we need to adjust dependent: destroys down the line to also be async to not cause hickups or something like that.

Specifications

Retrospring 2024.0310.2

@pixeldesu pixeldesu added bug Issues containing bug reports critical Critical topics that should be handled as soon as possible labels Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues containing bug reports critical Critical topics that should be handled as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant