hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12005) Split/merge fails if master restarts before PONR
Date Fri, 19 Sep 2014 15:53:34 GMT

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

Jimmy Xiang commented on HBASE-12005:
-------------------------------------

Sure, will add a helper method to make the checking easy to understand.

bq. If either is null in below, it is a fatal condition?
It is not. If the master restarts, these region states are lost since they are not persisted
before PONR.

bq.  yet you test them individually?
We can check them together. 

> Split/merge fails if master restarts before PONR
> ------------------------------------------------
>
>                 Key: HBASE-12005
>                 URL: https://issues.apache.org/jira/browse/HBASE-12005
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: hbase-12005.patch, hbase-12005_v1.1.patch
>
>
> This applies to RPC based assignment. The root cause is that we don't persist the state
of the new region(s). If we do persist it, we need to clean it up if the split/merge fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message