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

Use ScyllaShardAwareDialer as a default dialer #102

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

zimnx
Copy link
Collaborator

@zimnx zimnx commented Jul 15, 2022

PR #98 introduced a regression which changed default dialer
to bare net.Dialer, instead of wrapped one with ScyllaShardAwareDialer.
This resulted in dialer not being able to set local address
which are required for correct shard assignment.
Even though we have an integration test for that, test environment
has only 2 shards, so it's possible that random port assignment passes it.

PR scylladb#98 introduced a regression which changed default dialer
to bare net.Dialer, instead of wrapped one with ScyllaShardAwareDialer.
This resulted in dialer not being able to set local address
which are required for correct shard assignment.
Even though we have an integration test for that, test environment
has only 2 shards, so it's possible that random port assignment passes it.
@zimnx zimnx added the bug label Jul 15, 2022
@zimnx zimnx requested a review from mmatczuk July 15, 2022 08:32
@mmatczuk mmatczuk merged commit e6fdf89 into scylladb:master Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants