You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2009/09/19 03:14:16 UTC

[jira] Commented: (HBASE-1853) Each time around the regionserver core loop, we clear the messages to pass master, even if we failed to deliver them

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

Jonathan Gray commented on HBASE-1853:
--------------------------------------

Patch looks sane to me.  +1 for commit after you test.

> Each time around the regionserver core loop, we clear the messages to pass master, even if we failed to deliver them
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1853
>                 URL: https://issues.apache.org/jira/browse/HBASE-1853
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.20.1
>
>         Attachments: rs.patch
>
>
> At the head of the regionserver run loop we do this:
> {code}
>           synchronized(this.outboundMsgs) {
>             outboundArray =
>               this.outboundMsgs.toArray(new HMsg[outboundMsgs.size()]);
>             this.outboundMsgs.clear();
>           }
> {code}
> We do this even if we failed to deliver the message to the master -- Connection refused or whatever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.