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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development