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

Missing commas between endpoints in nodetool describering

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: Tool/nodetool
    • Labels:
      None

      Description

      Setup

      3-node cluster created with ccm

      cqlsh> create keyspace ks with replication = {'class': 'SimpleStrategy', 'replication_factor': 2};
      

      trunk:

      $ bin/nodetool describering ks --port 7100
      Schema Version:295e8142-fc9f-3f76-b6db-24430ff572e5
      TokenRange:
              TokenRange(start_token:-9223372036854775808, end_token:-3074457345618258603endpoints:[127.0.0.2, 127.0.0.3]rpc_endpoints:[127.0.0.2, 127.0.0.3]endpoint_details:[EndpointDetails(host:127.0.0.2, datacenter:d
      atacenter1, rack:rack1), EndpointDetails(host:127.0.0.3, datacenter:datacenter1, rack:rack1)])
              TokenRange(start_token:-3074457345618258603, end_token:3074457345618258602endpoints:[127.0.0.3, 127.0.0.1]rpc_endpoints:[127.0.0.3, /127.0.0.1]endpoint_details:[EndpointDetails(host:127.0.0.3, datacenter:d
      atacenter1, rack:rack1), EndpointDetails(host:127.0.0.1, datacenter:datacenter1, rack:rack1)])
              TokenRange(start_token:3074457345618258602, end_token:-9223372036854775808endpoints:[127.0.0.1, 127.0.0.2]rpc_endpoints:[/127.0.0.1, 127.0.0.2]endpoint_details:[EndpointDetails(host:127.0.0.1, datacenter:d
      atacenter1, rack:rack1), EndpointDetails(host:127.0.0.2, datacenter:datacenter1, rack:rack1)])
      

      3.11 (correct output)

      bin/nodetool describering ks --port 7100
      Schema Version:c8fd35ea-6f49-3e77-85e7-a92e79df8696
      TokenRange:
              TokenRange(start_token:-9223372036854775808, end_token:-3074457345618258603, endpoints:[127.0.0.2, 127.0.0.3], rpc_endpoints:[127.0.0.2, 127.0.0.3], endpoint_details:[EndpointDetails(host:127.0.0.2, datace
      nter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.3, datacenter:datacenter1, rack:rack1)])
              TokenRange(start_token:-3074457345618258603, end_token:3074457345618258602, endpoints:[127.0.0.3, 127.0.0.1], rpc_endpoints:[127.0.0.3, 127.0.0.1], endpoint_details:[EndpointDetails(host:127.0.0.3, datacen
      ter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.1, datacenter:datacenter1, rack:rack1)])
              TokenRange(start_token:3074457345618258602, end_token:-9223372036854775808, endpoints:[127.0.0.1, 127.0.0.2], rpc_endpoints:[127.0.0.1, 127.0.0.2], endpoint_details:[EndpointDetails(host:127.0.0.1, datacen
      ter:datacenter1, rack:rack1), EndpointDetails(host:127.0.0.2, datacenter:datacenter1, rack:rack1)])
      

        Attachments

          Activity

            People

            • Assignee:
              stefan.miklosovic Stefan Miklosovic
              Reporter:
              Gerrrr Aleksandr Sorokoumov
              Authors:
              Stefan Miklosovic
              Reviewers:
              Benjamin Lerer, T Jake Luciani
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m