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

[JAVA-2786] Extend health check to all connected nodes #23

Open
adutra opened this issue May 29, 2020 · 2 comments
Open

[JAVA-2786] Extend health check to all connected nodes #23

adutra opened this issue May 29, 2020 · 2 comments
Labels
priority:major Imported from JIRA status:open Imported from JIRA type:improvement Imported from JIRA

Comments

@adutra
Copy link
Contributor

adutra commented May 29, 2020

Imported from [JAVA-2786](https://datastax-oss.atlassian.net/browse/JAVA-2786), originally reported by @adutra on Tue, 19 May 2020 16:07:15 GMT.


As decided internally with other drivers, we should implement health checks following the definition below:

A cluster is healthy from the application standpoint if the driver has at least one open connection to all the nodes not in IGNORED state.

This could be done with session.getMetadata().getNodes() + Node.getOpenConnections() but it’s probably better to wait for [ JAVA-2693 |https://datastax-oss.atlassian.net/browse/JAVA-2693] Resolved .

┆Issue is synchronized with this Jira Task by Unito

@adutra adutra added priority:major Imported from JIRA status:open Imported from JIRA type:improvement Imported from JIRA labels May 29, 2020
@adutra
Copy link
Contributor Author

adutra commented May 29, 2020

Link imported from Jira: this issue (JAVA-2786) --- is blocked by ---> JAVA-2742.

@adutra
Copy link
Contributor Author

adutra commented May 29, 2020

Link imported from Jira: this issue (JAVA-2786) --- relates to ---> JAVA-2693 (issue #49).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:major Imported from JIRA status:open Imported from JIRA type:improvement Imported from JIRA
Projects
None yet
Development

No branches or pull requests

2 participants