Skip to content

CASSGO-62 Check the at least one host passed on initial host lookup #1867

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

tengu-alt
Copy link
Contributor

This PR provides a check to ensure that at least one host passes filter during the initial host lookup.
Resolves: #738

@tengu-alt tengu-alt changed the title Check the at least one host passed on initial host lookup CASSGO-62-Check the at least one host passed on initial host lookup Mar 6, 2025
@joao-r-reis joao-r-reis changed the title CASSGO-62-Check the at least one host passed on initial host lookup CASSGO-62 Check the at least one host passed on initial host lookup Mar 25, 2025
@jameshartig
Copy link
Contributor

What was the behavior previously? I believe it would've errored with ErrNoConnectionsStarted? The #738 issue doesn't have any reasoning or explanation for why it was filed.

@tengu-alt
Copy link
Contributor Author

tengu-alt commented Apr 1, 2025

I believe it would've errored with ErrNoConnectionsStarted?

It is correct. The reason for this check is to prevent further code execution before ErrNoConnectionsStarted (e.g when the localHost passed the filter for the first time and fails for the second)

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.

ensure at least one initial host passes the host filter if present
2 participants