You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Stephen Yuan Jiang (JIRA)" <ji...@apache.org> on 2016/11/08 06:07:58 UTC

[jira] [Commented] (HBASE-17044) Fix merge failed before creating merged region leaves meta inconsistent

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

Stephen Yuan Jiang commented on HBASE-17044:
--------------------------------------------

The idea looks good:

{code}
+	    // Only offline the merging region if it is known to exist.
+	    if (rs_p != null) {
	      regionOffline(p);	
+	    }
{code}

I check the code in branch-1.1 - this logic also missing.  So we should put this change in both branch-1 and all branch-1.x  

A side note:  Since this logic is missing in all 1.x, we still don't know the root cause of  ITBLL failing in split/merge area in 1.2, but not in 1.1.

> Fix merge failed before creating merged region leaves meta inconsistent
> -----------------------------------------------------------------------
>
>                 Key: HBASE-17044
>                 URL: https://issues.apache.org/jira/browse/HBASE-17044
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>             Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.5, 1.1.8
>
>         Attachments: HBASE-17044-branch-1.2.patch
>
>
> Similar to HBASE-16093. Rollback from failed merge should not offline the target region for the merge if it hasn't been created. 



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