Trying to write a cluster aware client, but it's hard to because the peers
table is not being truthful.

Here's some output to corroborate my story…

cqlsh:system> select peer, host_id, rpc_address, schema_version,
release_version from peers;

 peer         | host_id                              | rpc_address  |
schema_version                       | release_version
--------------+--------------------------------------+--------------+--------------------------------------+-----------------
 10.93.33.149 | dcffbbcd-8003-4eaa-8edd-256c5523763c | 10.93.33.149 |
f881f4ef-bed9-3dd0-b3bb-e91cd314599c |           1.2.9
  10.93.73.25 | 9a02b1b5-fec4-427e-a919-c753d0e8b699 |  10.93.73.25 |
20711c2d-c099-3b7b-80a3-ca255686e571 |           1.2.9

$ nodetool status
Datacenter: us-east
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address         Load       Tokens  Owns   Host ID
        Rack
UN  10.93.73.25     6.7 GB     256     50.1%
 9a02b1b5-fec4-427e-a919-c753d0e8b699  1a
UN  10.222.194.127  6.7 GB     256     49.9%
 e003f4e2-2aa7-4c95-90a0-b70858d5b0e7  1a

$ ifconfig | grep "inet addr"
          inet addr:10.222.194.127  Bcast:10.222.195.255  Mask:255.255.254.0
          inet addr:127.0.0.1  Mask:255.0.0.0


Thanks for the help.

Reply via email to