hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [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
Date Sat, 19 Sep 2009 01:14:16 GMT

    [ 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.


Mime
View raw message