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

huaxiang sun commented on HBASE-20651:
--------------------------------------

Attach v2 patch which addresses Esteban's comments. I manually run the test, 
tried to call offline for a split parent region and it is rejected with the 
patch, the following assign() does not succeed which is expected.

{code}
2018-07-06 11:58:30,908 INFO  
[B.defaultRpcServer.handler=25,queue=1,port=57561] master.MasterRpcServices: 
Client=hsun//127.0.0.1 offline 
t1,,1530901282525.1765b05f4bf0300d264d0c540493985c.
2018-07-06 11:58:30,908 INFO  
[B.defaultRpcServer.handler=25,queue=1,port=57561] master.AssignmentManager: 
Try to offline region 1765b05f4bf0300d264d0c540493985c, which is at state 
SPLIT, skip
2018-07-06 11:59:32,692 INFO  
[B.defaultRpcServer.handler=13,queue=1,port=57561] master.MasterRpcServices: 
Client=hsun//127.0.0.1 assign 
t1,,1530901282525.1765b05f4bf0300d264d0c540493985c.
2018-07-06 11:59:32,693 ERROR 
[B.defaultRpcServer.handler=13,queue=1,port=57561] master.AssignmentManager: 
Trying to assign region {ENCODED => 1765b05f4bf0300d264d0c540493985c, NAME => 
't1,,1530901282525.1765b05f4bf0300d264d0c540493985c.', STARTKEY => '', ENDKEY 
=> ''}, which is {1765b05f4bf0300d264d0c540493985c state=SPLIT, 
ts=1530903491314, server=localhost,57563,1530901168490}
                                                                                
                                                                                
                          13
{code}

> Master, prevents hbck or shell command to reassign the split parent region
> --------------------------------------------------------------------------
>
>                 Key: HBASE-20651
>                 URL: https://issues.apache.org/jira/browse/HBASE-20651
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>    Affects Versions: 1.2.6
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Minor
>         Attachments: HBASE-20651-branch-1-v001.patch, 
> HBASE-20651-branch-1-v002.patch
>
>
> We are seeing that hbck brings back split parent region and this causes 
> region inconsistency. More details will be filled as reproduce is still 
> ongoing. Might need to do something at hbck or master to prevent this from 
> happening.



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

Reply via email to