Details
-
Task
-
Status: Resolved
-
Low
-
Resolution: Fixed
Description
Additional option of 'nodetool ring' command is not documented.
Old variant:
ring - Print information about the token ring
New variant
ring [keyspace] - Print information about the token ring for a given keyspace (for all keyspaces if it is not specified)
Patch has been attached.
Some history (I think it will be useful for someone who will have the same problem):
I have 4-nodes cluster. One of nodes is located in other DC (DC2). I've met the problem that 'nodetool ring' shows that node in DC2 'Owns 0.00%'. I've found following questions:
http://www.datastax.com/support-forums/topic/owns-in-nodetool
http://mail-archives.apache.org/mod_mbox/cassandra-user/201202.mbox/%3C323DBC99-8519-4E86-B69B-6520D53FA5CF@humbaba.net%3E
and task with fix:
https://issues.apache.org/jira/browse/CASSANDRA-3412
So you should use 'nodetool ring keyspace' for getting right information.