richardantal commented on PR #6448:
URL: https://github.com/apache/hbase/pull/6448#issuecomment-2464475044

   We have set the meta region replicas to 3 in configuration, and for the 
cluster A we have the storage location set to 
"s3a://some-location/cluster-A/hbase"
   Meta region replicas works fine on cluster A, all of the replicas are 
assigned.
   We delete this cluster.
   We create cluster B with the same storage location set to 
"s3a://some-location/cluster-A/hbase" , with the same configuration ( meta 
region replicas set to 3)
   In this case FIRST_META_REGIONINFO gets assigned only.
   Compared to the case when we create a new cluster with empty storage we 
assign the replicas because we do this part as well.
   
https://github.com/apache/hbase/blob/3fbe4fbb68e33f6ed796d268961ae05e19307f65/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java#L1173-L1182
   
   In case of cluster B 
   replicasNumInConf = 3
   metaDesc.getRegionReplication() = 3
   existingReplicasCount = 1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to