Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13439

nodetool ring output should reflect rack perturbation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently, "nodetool ring $KEYSPACE" shows ownership based entirely upon token distribution. However, the actual ownership must also account for rack information. As an example, for a table with RF=3 in a cluster with three racks, if the ring order of nodes/racks is, e.g. node1-rack1, node2-rack2, node3-rack1, node-4rack2, node5-rack3, ...
      It will turn out that node5 shares ownership with node1, node2, node3, and node4 because of rack distribution rules. Not only is this potentially unexpected, it's also somewhat difficult to reason about exactly how the data will be distributed. It would be really convenient if nodetool could tell us this distribution.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              geekatcmu Brian Gallew
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: