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

Load-balancing policy missing #32

Open
zuzzas opened this issue Apr 10, 2018 · 3 comments
Open

Load-balancing policy missing #32

zuzzas opened this issue Apr 10, 2018 · 3 comments

Comments

@zuzzas
Copy link

zuzzas commented Apr 10, 2018

I am getting the following WARNING log from cassandra-migrate migrate command:
WARNING:cassandra.cluster:Cluster.__init__ called with contact_points specified, but no load_balancing_policy. In the next major version, this will raise an error; please specify a load-balancing policy. (contact_points = ['cassandra.cs-dev.svc.cluster.local'], lbp = None)

Would be possible to do something about it?

@danielkza
Copy link
Contributor

The message is harmless AFAIK. If you do configure a load-balancing policy for multiple DCs without actually having them the driver will also throw a warning, and I would not like to make the default settings ignore existing DCs.

I'll address this in the next release, but a new mandatory config option might be needed.

@zuzzas
Copy link
Author

zuzzas commented Apr 11, 2018

the next major version, this will raise an error

This thing here prompted me to write an issue. Thanks for a quick response!

@ondrc
Copy link

ondrc commented Jul 18, 2018

👍 I am also getting the warning. Possibility to configure load balancing policy in config file would be appreciated.

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

No branches or pull requests

3 participants