Skip to content

Conversation

@w1am
Copy link
Contributor

@w1am w1am commented Mar 19, 2025

Fixed: #310

When the server shuts down while a subscription is active, the client wasn't properly detecting this condition or attempting to reconnect. The error propagation path was broken, preventing the CreateChannel messages from being queued for reconnection attempts. Also, if errors occurred before subscription confirmation, the CompletableFuture wasn't being completed exceptionally, which could lead to hanging client code.

@w1am w1am force-pushed the DEVEX-256-Java-Client-Fix-subscription-reconnection-during-server-shutdown branch from 0555759 to 24bee81 Compare March 19, 2025 10:27
@w1am w1am marked this pull request as ready for review March 19, 2025 13:54
@w1am w1am requested a review from YoEight March 19, 2025 13:54
@w1am w1am merged commit 8e5f873 into trunk Mar 21, 2025
39 checks passed
@w1am w1am deleted the DEVEX-256-Java-Client-Fix-subscription-reconnection-during-server-shutdown branch April 14, 2025 09:27
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.

in 5.4.4, EventStoreDBClient becomes unusable after losing connection due to server is down

3 participants