Skip to content

Conversation

@jsdt
Copy link
Contributor

@jsdt jsdt commented Jan 24, 2025

Description of Changes

This is fixing an obvious bug in the subscription manager. When a client disconnects, we are removing the queries, but not removing our record of the client. This is a memory leak (and would be an issue if clients reused their connection ids).

@kim this should fix the logs you were seeing when shutting down a worker.

API and ABI breaking changes

If this is an API or ABI breaking change, please apply the
corresponding GitHub label.

Expected complexity level and risk

1

Testing

Unit tests are now asserting that we remove the clients.

@jsdt jsdt requested a review from gefjon January 24, 2025 19:20
@jsdt jsdt enabled auto-merge January 24, 2025 19:33
@jsdt jsdt added this pull request to the merge queue Jan 24, 2025
Merged via the queue into master with commit 729dbb1 Jan 24, 2025
13 checks passed
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.

3 participants