Cassandra
  1. Cassandra
  2. CASSANDRA-969

Server fails to join cluster if IPv6 only

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.6.1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Ubuntu 9.10 x64
      java: Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
      cassandra 0.6.0-rc1

      Description

      When configuring Cassandra for IPv6 connectivity on the server to server side the addition of a second node causes the both servers to loop on ArrayIndexOutOfBoundsExection for 5 minutes

      The first server has

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 65536
      at org.apache.cassandra.net.HeaderSerializer.deserialize(Header.java:155)

      While the second has

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 131072
      at org.apache.cassandra.net.HeaderSerializer.deserialize(Header.java:155)

      the index is double.

      These servers work find in a cluster together if they are configured IPv4

      server1 in the output is 2607:f3d0:0:2::16
      server2 is 2607:f3d0:0:1::f

        Activity

        Gavin made changes -
        Workflow patch-available, re-open possible [ 12752189 ] reopen-resolved, no closed status, patch-avail, testing [ 12755234 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12508057 ] patch-available, re-open possible [ 12752189 ]
        Gary Dusbabek made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Cody Lerum made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Gary Dusbabek made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jonathan Ellis made changes -
        Fix Version/s 0.6.1 [ 12314867 ]
        Affects Version/s 0.6 [ 12314361 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Gary Dusbabek made changes -
        Assignee Gary Dusbabek [ gdusbabek ]
        Gary Dusbabek made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Gary Dusbabek made changes -
        Attachment encode_decode_ipv6_addresses_safely.txt [ 12441480 ]
        Cody Lerum made changes -
        Attachment cassandra-v6-2-filtered.pcap [ 12441347 ]
        Cody Lerum made changes -
        Summary Server fals to join cluster if IPv6 only Server fails to join cluster if IPv6 only
        Cody Lerum made changes -
        Attachment cassandra-v6.pcap [ 12441346 ]
        Cody Lerum made changes -
        Field Original Value New Value
        Attachment server1.log [ 12441344 ]
        Attachment server2.log [ 12441345 ]
        Cody Lerum created issue -

          People

          • Assignee:
            Gary Dusbabek
            Reporter:
            Cody Lerum
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development