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

Streamline the serialized format for index status gossip messages

    XMLWordPrintableJSON

Details

    Description

      I spoke with someone today hitting an error on a cluster recently upgraded from 4.0.5 to 5.0.2, when creating or dropping tables.  Immediately after creating a table, nodes are reported down and they all immediately start throwing the below exception repeatedly in the logs.  The cluster has to be restarted to come back online.

      Unfortunately I don't have access to the cluster, this was sent to me on a phone call.

      Here's the exception:

       

      ERROR [GossipStage:1] 2024-11-03 09:48:04,187 JVMStabilityInspector.java:70 - 
      Exception in thread Thread[GossipStage:1,5,GossipStage]
      java.lang.RuntimeException: java.lang.AssertionError
              at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:108)
              at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:45)
              at org.apache.cassandra.net.InboundMessageHandler$ProcessMessage.run(InboundMessageHandler.java:430)
              at org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
              at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: java.lang.AssertionError: null
              at org.apache.cassandra.db.TypeSizes.sizeof(TypeSizes.java:44)
              at org.apache.cassandra.gms.VersionedValue$VersionedValueSerializer.serializedSize(VersionedValue.java:365)
              at org.apache.cassandra.gms.VersionedValue$VersionedValueSerializer.serializedSize(VersionedValue.java:343)
              at org.apache.cassandra.gms.EndpointStateSerializer.serializedSize(EndpointState.java:344)
              at org.apache.cassandra.gms.EndpointStateSerializer.serializedSize(EndpointState.java:300)
              at org.apache.cassandra.gms.GossipDigestAckSerializer.serializedSize(GossipDigestAck.java:96)
              at org.apache.cassandra.gms.GossipDigestAckSerializer.serializedSize(GossipDigestAck.java:61)
              at org.apache.cassandra.net.Message$Serializer.payloadSize(Message.java:1088)
              at org.apache.cassandra.net.Message.payloadSize(Message.java:1131)
              at org.apache.cassandra.net.Message$Serializer.serializedSize(Message.java:769)
              at org.apache.cassandra.net.Message.serializedSize(Message.java:1111)
              at org.apache.cassandra.net.OutboundConnections.connectionTypeFor(OutboundConnections.java:215)
              at org.apache.cassandra.net.OutboundConnections.connectionFor(OutboundConnections.java:207)
              at org.apache.cassandra.net.OutboundConnections.enqueue(OutboundConnections.java:96)
              at org.apache.cassandra.net.MessagingService.doSend(MessagingService.java:473)
              at org.apache.cassandra.net.OutboundSink.accept(OutboundSink.java:70)
              at org.apache.cassandra.net.MessagingService.send(MessagingService.java:462)
              at org.apache.cassandra.net.MessagingService.send(MessagingService.java:437)
              at org.apache.cassandra.gms.GossipDigestSynVerbHandler.doVerb(GossipDigestSynVerbHandler.java:110)
              at org.apache.cassandra.net.InboundSink.lambda$new$0(InboundSink.java:78)
              at org.apache.cassandra.net.InboundSink.accept(InboundSink.java:97)
              ... 7 common frames omitted

      Attachments

        1. ci_summary.html
          35 kB
          Caleb Rackliffe
        2. ci_summary-1.html
          346 kB
          Caleb Rackliffe

        Activity

          People

            maedhroz Caleb Rackliffe
            rustyrazorblade Jon Haddad
            Caleb Rackliffe
            David Capwell
            Votes:
            0 Vote for this issue
            Watchers:
            7 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 - 2.5h
                2.5h