You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In moving from gem 0.6 to 0.7.2 my clients were no longer talking to the correct server ip.
It's possible that my problem is that I should have added something to the config files during the upgrade that I missed. I did a diff on them between versions and didn't see anything different though.
I tracked the problem to this method in cassandra.rb:
def all_nodes
ips = ::JSON.parse(@client.get_string_property('token map')).values
port = @servers.first.split(':').last
ips.map{|ip| "#{ip}:#{port}" }
end
As far as I know I don't have a token map defined, nor do I know how to define it. The client! method uses this all_nodes and overwrites the server attribute with the result of it.
The text was updated successfully, but these errors were encountered:
In moving from gem 0.6 to 0.7.2 my clients were no longer talking to the correct server ip.
It's possible that my problem is that I should have added something to the config files during the upgrade that I missed. I did a diff on them between versions and didn't see anything different though.
I tracked the problem to this method in cassandra.rb:
As far as I know I don't have a token map defined, nor do I know how to define it. The client! method uses this all_nodes and overwrites the server attribute with the result of it.
The text was updated successfully, but these errors were encountered: