Jon Meredith created CASSANDRA-18474:
----------------------------------------
Summary: Incremental repairs fail on mixed IPv4/v6 addresses
serializing SyncRequst
Key: CASSANDRA-18474
URL: https://issues.apache.org/jira/browse/CASSANDRA-18474
Project: Cassandra
Issue Type: Improvement
Reporter: Jon Meredith
Assignee: Jon Meredith
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: [email protected]
For additional commands, e-mail: [email protected]