Hi,

I just found an interesting issue (debugging mystery):
On the development node I connect through a SSH tunnel to one node of the
cluster

riak_client = Riak::Client.new(http_port: 9198, pb_port: 9187, protocol:
'pbc')

and on the staging server, I had the client set up for using a list of
nodes to allow automatic failover if needed:

  riak_client = Riak::Client.new(:nodes => [
      {pb_port: 8087, host: 'ip_of_node1', protocol: 'pbc'},
      {pb_port: 8087, host: 'ip_of_node2', protocol: 'pbc'},
      {pb_port: 8087, host: 'ip_of_node3', protocol: 'pbc'}])

But in this configuration some keys that are available when I connect with
the "simple" configuration are just not found. I changed it on the same
server to use only one node
riak_client = Riak::Client.new(pb_port: 8087, host: 'ip_of_node1',
protocol: 'pbc')

and the key is found. I tried it with the other riak nodes and for each of
them it workes.

What is going on?

riak-client (1.4.4.1)

Chaim Solomon
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to