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

Make account data removal asynchronous and batched #8270

Closed
Tracked by #5809
alexgarel opened this issue Mar 30, 2023 · 0 comments · Fixed by #8516
Closed
Tracked by #5809

Make account data removal asynchronous and batched #8270

alexgarel opened this issue Mar 30, 2023 · 0 comments · Fixed by #8516
Labels
🐛 bug This is a bug, not a feature request. MongoDB We have 2 mongodb collections: one for current products, and one for obsolete products ⭐ 🐛 top bug Top bug. ⭐ top issue Top issue. 👥 Users

Comments

@alexgarel
Copy link
Member

alexgarel commented Mar 30, 2023

Describe the bug

When you remove a user, there are a lot of chances that your request ends up with an error because we got a operation exceeded time limite.

This is because on user removal we must process a lot of mongodb data to change the username.

To Reproduce

Remove a user in production.

Expected behavior

We should have a nice return. The user removal should proceed safely in the background.

We can use minions to do it.
We should also do operation in batch to avoid flooding the database.

Screenshots

image

Additional context

Additionally it would be good to support deletion on old products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug, not a feature request. MongoDB We have 2 mongodb collections: one for current products, and one for obsolete products ⭐ 🐛 top bug Top bug. ⭐ top issue Top issue. 👥 Users
Projects
Development

Successfully merging a pull request may close this issue.

1 participant