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

David Capwell updated CASSANDRA-16106:
--------------------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Open)

Marking this duplicated in favor of CASSANDRA-16103 as it looks like that fixes 
the +8 issue, which could trigger this.

> BufferOverflow exception while writing response to buffer
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-16106
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16106
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Internode
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 4.0-beta
>
>
> Was running a benchmark at LOCAL_ONE and eventually saw the below exception; 
> this is related to CASSANDRA-16097 as it was found during the same test.
> {code}
> message="...SMALL_MESSAGES-1bb47c27 dropping message of type HINT_RSP due to 
> error"
> exception="java.nio.BufferOverflowException
>       at 
> org.apache.cassandra.io.util.DataOutputBufferFixed.doFlush(DataOutputBufferFixed.java:52)
>       at 
> org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write(BufferedDataOutputStreamPlus.java:153)
>       at 
> org.apache.cassandra.utils.vint.VIntCoding.writeUnsignedVInt(VIntCoding.java:191)
>       at 
> org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt(DataOutputPlus.java:55)
>       at 
> org.apache.cassandra.net.Message$Serializer.serializeHeaderPost40(Message.java:688)
>       at 
> org.apache.cassandra.net.Message$Serializer.serializePost40(Message.java:758)
>       at 
> org.apache.cassandra.net.Message$Serializer.serialize(Message.java:618)
>       at 
> org.apache.cassandra.net.OutboundConnection$EventLoopDelivery.doRun(OutboundConnection.java:813)
>       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:834)"
> {code}
> {code}
> message="...-SMALL_MESSAGES-e72423f4 dropping message of type MUTATION_RSP 
> due to error"
> exception="java.nio.BufferOverflowException
>       at 
> org.apache.cassandra.io.util.DataOutputBufferFixed.doFlush(DataOutputBufferFixed.java:52)
>       at 
> org.apache.cassandra.io.util.BufferedDataOutputStreamPlus.write(BufferedDataOutputStreamPlus.java:153)
>       at 
> org.apache.cassandra.utils.vint.VIntCoding.writeUnsignedVInt(VIntCoding.java:191)
>       at 
> org.apache.cassandra.io.util.DataOutputPlus.writeUnsignedVInt(DataOutputPlus.java:55)
>       at 
> org.apache.cassandra.net.Message$Serializer.serializeParams(Message.java:1112)
>       at 
> org.apache.cassandra.net.Message$Serializer.serializeHeaderPost40(Message.java:689)
>       at 
> org.apache.cassandra.net.Message$Serializer.serializePost40(Message.java:758)
>       at 
> org.apache.cassandra.net.Message$Serializer.serialize(Message.java:618)
>       at 
> org.apache.cassandra.net.OutboundConnection$EventLoopDelivery.doRun(OutboundConnection.java:813)
>       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:834)"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to