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

chirag goyal commented on HBASE-29692:
--------------------------------------

I’d like to start contributing to this issue. Could you let me know the latest 
status or if there are any blockers I should be aware of? Thanks!
 

> Prevent merged region from assigning again
> ------------------------------------------
>
>                 Key: HBASE-29692
>                 URL: https://issues.apache.org/jira/browse/HBASE-29692
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>    Affects Versions: 2.6.0
>            Reporter: Umesh Kumar Kumawat
>            Priority: Minor
>
> Once a region is split/merged, one should not be able to assign it using 
> hbck. Generally it is not possible becuase as soon as we create the merged 
> region we delete the reiogn but in a race condition It is possible if one 
> request an assign command just before deleting it. 
> There is a Unit test 
> ([TestRegionMergeTransactionOnCluster#testWholesomeMerge|https://github.com/apache/hbase/blob/a47fa6a448ff08020fb2f5cfb238a911dfae4c81/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransactionOnCluster.java#L170-L176])
>  as well for this case but assertion for that JUnit are not good, UnitTest is 
> only checking if region was in transition. Assign/Unassin is quickly able to 
> complete so most of the time we are able to pass the Unit test. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to