You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2018/08/03 10:50:00 UTC

[jira] [Commented] (HBASE-20972) Fix call queue buffer size leaking bug

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

Guanghao Zhang commented on HBASE-20972:
----------------------------------------

+1. Please attach a patch for master branch first.

> Fix call queue buffer size leaking bug
> --------------------------------------
>
>                 Key: HBASE-20972
>                 URL: https://issues.apache.org/jira/browse/HBASE-20972
>             Project: HBase
>          Issue Type: Bug
>          Components: IPC/RPC
>    Affects Versions: 2.1.0, 2.0.0, 2.2.0
>            Reporter: Xiaolin Ha
>            Assignee: Xiaolin Ha
>            Priority: Major
>         Attachments: HBASE-20972.branch-2.0.001.patch
>
>
> Call queue size is the currently queued and running Calls bytes size. It gets incremented after we parse a call and before we add it to the queue of calls for the scheduler to use. It get decremented after we have 'run' the Call. 
> When setting up a call, total size of it is added. So when a new call can not be dispatched by BlockingQueue full, the call queue size should be decremented. We shouldn't add size of rejected calls to the call queue size.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)