cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Hryhoriev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11551) Incorrect counting of pending messages in OutboundTcpConnection
Date Wed, 17 May 2017 12:10:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013903#comment-16013903
] 

Nick Hryhoriev commented on CASSANDRA-11551:
--------------------------------------------

Just want mention that in 3.9 it's still exist.

> Incorrect counting of pending messages in OutboundTcpConnection
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-11551
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11551
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Priority: Minor
>             Fix For: 2.2.x
>
>
> Somehow {{OutboundTcpConnection.getPendingMessages()}} seems to return a wrong number.
> {code}
> nodetool netstats
> Mode: NORMAL
> Not sending any streams.
> Read Repair Statistics:
> Attempted: 1655
> Mismatch (Blocking): 0
> Mismatch (Background): 2
> Pool Name                    Active   Pending      Completed
> Large messages                  n/a         5              0
> Small messages                  n/a         0       31534100
> Gossip messages                 n/a         0         520393
> {code}
> Inspection of the heap dump of that node unveiled that all instances of {{OutboundTcpConnection.backlog}}
are empty but {{currentMsgBufferCount}} is {{1}} for 5 instances of {{OutboundTcpConnection}}.
> Maybe the cause is in {{OutboundTcpConnection.run()}} where {{drainedMessages.size()}}
is called twice but assumed that these are equal.
> /cc [~aweisberg]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message