Skip to content

Conversation

@iljarotar
Copy link
Contributor

Description

There is a bug in the tenant delete method. A tenant is always member of their own tenant. So when the memberships are cleaned up this membership is found twice, because we are searching for memberships where a tenant is member of another tenant and for those where someone else is member of the tenant. Then we try to delete the same membership twice which results in a data corruption error. This PR fixes the issue.

@iljarotar iljarotar requested a review from a team as a code owner May 14, 2025 13:28
@iljarotar iljarotar requested a review from majst01 May 14, 2025 14:00
@iljarotar iljarotar merged commit 62c7d55 into master May 14, 2025
1 check passed
@iljarotar iljarotar deleted the fix-tenant-member-cleanup branch May 14, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants