Deleting a group with a huge number of members gets stuck
In https://gitlab.com/gitlab-com/gl-infra/production/issues/1031 (internal) we encountered an issue where a group deletion would get stuck because the group had over 150.000 group_members. This caused other problems in the database because the transaction stayed open while deleting the records one by one.
Edited by 🤖 GitLab Bot 🤖