Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember failures when collecting initial information in cluster/replication/sentinel #426

Merged

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Feb 5, 2024

In the cluster, replication and sentinel modes, the first thing we do is iterate through known nodes and for each, connect and send a command to collect some information, until we obtain a successful response.

This commit makes sure we remember the failures and when no successful response is ever obtained, we can complete the connection Future with an error message that contains the actual failures and not just a placeholder string.

@Ladicek Ladicek force-pushed the cluster-replication-initial-info-failures branch from 2bee43d to 2738f53 Compare February 6, 2024 10:28
@Ladicek Ladicek changed the title Remember failures when collecting initial information in cluster/replication Remember failures when collecting initial information in cluster/replication/sentinel Feb 6, 2024
@Ladicek Ladicek requested a review from vietj February 6, 2024 10:38
…ication/sentinel

In the cluster, replication and sentinel modes, the first thing we do
is iterate through known nodes and for each, connect and send a command
to collect some information, until we obtain a successful response.

This commit makes sure we remember the failures and when no successful
response is ever obtained, we can complete the connection `Future`
with an error message that contains the actual failures and not just
a placeholder string.
@Ladicek Ladicek force-pushed the cluster-replication-initial-info-failures branch from 2738f53 to 627ec65 Compare March 5, 2024 09:06
@vietj vietj merged commit 5578016 into vert-x3:master Mar 7, 2024
4 checks passed
@Ladicek Ladicek deleted the cluster-replication-initial-info-failures branch March 7, 2024 10:25
@Ladicek Ladicek added this to the 5.0.0 milestone Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants