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

cassandra-stress: pass all hosts straight to the driver #314

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

fruch
Copy link
Contributor

@fruch fruch commented Nov 3, 2022

In cases of multiple contact points configued from commandline code was randomly selecting one host and pass that to the cql driver if for some reason that specfic node wasn't available the whole command would fail.

removing this random, and passing all hosts to the driver fix this issue, and the driver code is more then capble of handling a situation of some contact points unreachable

In cases of multiple contact points configued from commandline
code was randomly selecting one host and pass that to the cql driver
if for some reason that specfic node wasn't available the whole
command would fail.

removing this random, and passing all hosts to the driver fix this
issue, and the driver code is more then capble of handling a situation
of some contact points unreachable
Copy link
Contributor

@Bouncheck Bouncheck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Ran locally quick write workload with a list of a few unreachable hosts and 1 reachable. Connects just fine.

@avikivity avikivity merged commit 583261f into scylladb:master Nov 8, 2022
@fruch
Copy link
Contributor Author

fruch commented Nov 8, 2022

LGTM Ran locally quick write workload with a list of a few unreachable hosts and 1 reachable. Connects just fine.

yep, exactly how I checked it too.

fruch added a commit to fruch/scylla-cluster-tests that referenced this pull request Jan 12, 2023
using image from master to avoid issue to start stress when nodes are down
that was fixed in scylladb/scylla-tools-java#314
fruch added a commit to fruch/scylla-cluster-tests that referenced this pull request Jan 12, 2023
using image from master to avoid issue to start stress when nodes are down
that was fixed in scylladb/scylla-tools-java#314
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.

None yet

3 participants