You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Umesh Kumar Kumawat (Jira)" <ji...@apache.org> on 2026/05/13 12:11:00 UTC
[jira] [Commented] (HBASE-29692) Prevent merged region from assigning again
[ https://issues.apache.org/jira/browse/HBASE-29692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080574#comment-18080574 ]
Umesh Kumar Kumawat commented on HBASE-29692:
---------------------------------------------
Hi [~cgoyal] did you made any progress here ?
> 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
> Assignee: chirag goyal
> 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)