You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Meredith (Jira)" <ji...@apache.org> on 2023/04/21 21:16:00 UTC

[jira] [Updated] (CASSANDRA-18474) Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequest

     [ https://issues.apache.org/jira/browse/CASSANDRA-18474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Meredith updated CASSANDRA-18474:
-------------------------------------
    Summary:  Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequest  (was:  Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequst)

>  Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequest
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18474
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18474
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Repair, Messaging/Internode
>            Reporter: Jon Meredith
>            Assignee: Jon Meredith
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0
>
>
> 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.
> {code}
> /1.2.3.4:7000->/[::1]:7000-SMALL_MESSAGES-f83ce0bc dropping message of type SYNC_REQ due to error"
> {code}
> {Exception}
> {code}
> 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)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org