You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Huaxiang Sun (Jira)" <ji...@apache.org> on 2020/12/11 22:38:00 UTC

[jira] [Resolved] (HBASE-25358) meta replica regions are assigned to the same region server during SCP.

     [ https://issues.apache.org/jira/browse/HBASE-25358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Huaxiang Sun resolved HBASE-25358.
----------------------------------
    Resolution: Invalid

I checked the code and there is guard in the code to avoid assigning two replica regions to the same region server. So kind of lost and went back to rerun itbll and was able to reproduce it.

It is itbll actions which moves regions around and in some cases, it moves meta replica regions to the same region server. This is not a bug and resolve it.

> meta replica regions are assigned to the same region server during SCP.
> -----------------------------------------------------------------------
>
>                 Key: HBASE-25358
>                 URL: https://issues.apache.org/jira/browse/HBASE-25358
>             Project: HBase
>          Issue Type: Bug
>          Components: read replicas
>    Affects Versions: 2.4.0
>            Reporter: Huaxiang Sun
>            Assignee: Huaxiang Sun
>            Priority: Major
>
> When running 2.4.0 RC1 with meta replica enabled, during SCP, meta replica regions are assigned to the same region server. I think the reason is that SCP uses round robin algo to assign meta replicas and do not exclude  region servers hosting replica regions. This is not a new issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)