Skip to content

Update user delete#2896

Merged
juan-malbeclabs merged 3 commits intomainfrom
jo/update_user_delete
Feb 10, 2026
Merged

Update user delete#2896
juan-malbeclabs merged 3 commits intomainfrom
jo/update_user_delete

Conversation

@juan-malbeclabs
Copy link
Copy Markdown
Contributor

This pull request improves the user deletion process by ensuring that multicast group subscriptions are only attempted for groups that currently exist. The main change is to check for the existence of each multicast group before attempting to unsubscribe, which prevents errors when a user is associated with groups that may have been deleted.

Multicast group handling improvements:

  • Added a call to ListMulticastGroupCommand to fetch the current list of multicast groups before processing user subscriptions.
  • Updated the deletion logic to only execute SubscribeMulticastGroupCommand for groups that exist in the current multicast group list, preventing attempts to unsubscribe from non-existent groups. [1] [2]

Copy link
Copy Markdown
Contributor

@martinsander00 martinsander00 left a comment

Choose a reason for hiding this comment

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

Lint issues but lgtm

@juan-malbeclabs juan-malbeclabs enabled auto-merge (squash) February 10, 2026 19:29
@juan-malbeclabs juan-malbeclabs merged commit cd42aa2 into main Feb 10, 2026
29 checks passed
@juan-malbeclabs juan-malbeclabs deleted the jo/update_user_delete branch February 10, 2026 20:42
ben-dz pushed a commit that referenced this pull request Feb 10, 2026
This pull request improves the user deletion process by ensuring that
multicast group subscriptions are only attempted for groups that
currently exist. The main change is to check for the existence of each
multicast group before attempting to unsubscribe, which prevents errors
when a user is associated with groups that may have been deleted.

Multicast group handling improvements:

* Added a call to `ListMulticastGroupCommand` to fetch the current list
of multicast groups before processing user subscriptions.
* Updated the deletion logic to only execute
`SubscribeMulticastGroupCommand` for groups that exist in the current
multicast group list, preventing attempts to unsubscribe from
non-existent groups.
[[1]](diffhunk://#diff-11779c00a2224ce8e960532a9494334146983fe1f64b619779c6cf1d2c8c2a06R32-R35)
[[2]](diffhunk://#diff-11779c00a2224ce8e960532a9494334146983fe1f64b619779c6cf1d2c8c2a06R45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants