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

Duo Zhang commented on HBASE-26643:
-----------------------------------

I think this is a very critical bug, in BaseLoadBalancer we return an empty map 
if there is no region server and then the assignment manager will also return 
an empty array for the assign procedures, so for create table procedure we just 
do not assign any regions at all.

Not sure why on master the UT is stable, let me see if I could provide a UT to 
100% reproduce it.

> TestCreateTableWithMasterFailover and TestTruncateTableWithMasterFailover are 
> flaky
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-26643
>                 URL: https://issues.apache.org/jira/browse/HBASE-26643
>             Project: HBase
>          Issue Type: Bug
>          Components: proc-v2, Region Assignment, test
>    Affects Versions: 2.5.0, 2.6.0
>            Reporter: Duo Zhang
>            Priority: Major
>
> After HBASE-26641, these two tests are still flaky, they also fail for me 
> locally sometimes.
> After digging, I found that, while we see this in the log output after master 
> failover
> {noformat}
> Wanted to do round robin assignment but no servers to assign to
> {noformat}
> The UTs will fail.
> Need to dig more.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to