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

Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequest

    XMLWordPrintableJSON

Details

    Description

      The SyncRequest message assumes the initiator/src/dst are all the IP address
      type as an optimization when calculating serialized size. It needs to handle mixed address families.

      /1.2.3.4:7000->/[::1]:7000-SMALL_MESSAGES-f83ce0bc dropping message of type SYNC_REQ due to error"
      
      {Exception}
      org.apache.cassandra.net.InvalidSerializedSizeException: Invalid serialized size; expected 158, actual size at least 170, for verb SYNC_REQ
              at org.apache.cassandra.net.OutboundConnection$EventLoopDelivery.doRun(OutboundConnection.java:816)
              at org.apache.cassandra.net.OutboundConnection$Delivery.run(OutboundConnection.java:687)
              at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
              at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
              at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384)
              at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
              at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
              at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
              at java.base/java.lang.Thread.run(Thread.java:829)
      

      Attachments

        Issue Links

          Activity

            People

              jonmeredith Jon Meredith
              jonmeredith Jon Meredith
              Jon Meredith
              Caleb Rackliffe
              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 - 0.5h
                  0.5h