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

[minor] Improving cluster management #17

Merged
merged 2 commits into from
Jun 22, 2022
Merged

Conversation

YgorCastor
Copy link
Owner

  • Added healthcheck to each node, now if a node is unreachable the driver will remove it from the pool.
  • Added round-robin to select nodes.

@coveralls
Copy link

coveralls commented Jun 22, 2022

Pull Request Test Coverage Report for Build 3741a693932ece654bb77f68effb289cca16305c-PR-17

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 42 of 50 (84.0%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 86.028%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/connection/models/node_selector.ex 12 13 92.31%
lib/connection/executor/request_executor.ex 9 12 75.0%
lib/connection/executor/supervisor.ex 16 20 80.0%
Totals Coverage Status
Change from base Build a226dfdafd1153d5e3dc3cf3612af87732fc953d: -0.3%
Covered Lines: 665
Relevant Lines: 773

💛 - Coveralls

@YgorCastor YgorCastor merged commit 4448dfd into master Jun 22, 2022
@YgorCastor YgorCastor deleted the feat/cluster_strategies branch June 22, 2022 13:34
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