From commits-return-241711-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Thu Nov 12 18:12:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 4D51418066B for ; Thu, 12 Nov 2020 19:12:03 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 7C10B49D5D for ; Thu, 12 Nov 2020 18:12:02 +0000 (UTC) Received: (qmail 44421 invoked by uid 500); 12 Nov 2020 18:12:01 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 44392 invoked by uid 99); 12 Nov 2020 18:12:01 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2020 18:12:01 +0000 Received: from jira2-he-de.apache.org (static.54.33.119.168.clients.your-server.de [168.119.33.54]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPS id 29BE33EAD3 for ; Thu, 12 Nov 2020 18:12:01 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 6DAB2C806CA for ; Thu, 12 Nov 2020 18:12:00 +0000 (UTC) Date: Thu, 12 Nov 2020 18:12:00 +0000 (UTC) From: "David Capwell (Jira)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-16106) BufferOverflow exception while writing response to buffer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-16106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230838#comment-17230838 ] David Capwell commented on CASSANDRA-16106: ------------------------------------------- [~yifanc] thoughts? Looking closer it looks like we try to write more than we allocated, where as the other one we write less; so possible different issue still? > 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-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org