Skip to content

Drop a PgSubscriber connection opened after close - #1769

Open
sharanggupta wants to merge 1 commit into
eclipse-vertx:masterfrom
sharanggupta:pg-subscriber-close-while-connecting
Open

sharanggupta wants to merge 1 commit into
eclipse-vertx:masterfrom
sharanggupta:pg-subscriber-close-while-connecting

Conversation

@sharanggupta

Copy link
Copy Markdown

Closing a PgSubscriber while it was connecting, or while a reconnect was scheduled, left the new connection open and listening, so notifications kept arriving after close(). The connection is now closed when it arrives after close(), and a scheduled reconnect is skipped. The test holds the connection in a proxy while the subscriber is closed.

Closing a subscriber while it was connecting, or while a reconnect was
scheduled, left the new connection open and listening.

Signed-off-by: Sharang Gupta <sharang@sharanggupta.dev>
Assisted-by: Anthropic Claude (claude-opus-5-5)
@vietj vietj added this to the 5.3.0 milestone Oct 29, 2026

This branch has not been deployed

No deployments
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.

2 participants