Apache9 commented on PR #5518:
URL: https://github.com/apache/hbase/pull/5518#issuecomment-1833023373

   > > Have you check the ref guide? For me, I think setting the replica mode 
to something other than NONE indicates that the user wants to use meta replica?
   > 
   > Thanks, @Apache9 . The ref guide doesn't bound the relation ship between 
the two configs. I think, when we enabling the meta replica, we will set both 
the two configs under normal circumstances. But when encountering problems 
caused by meta replica, disable it throught the configs is a quick recover 
method. The key problem here is that we should disable meta replica by only one 
config("hbase.meta.replicas.use") or both the relevant configs. I prefer the 
first way, but I'm neutral on both the ways.
   
   Maybe at client side we just do not care about `hbase.meta.replicas.use`? 
The `hbase.meta.replicas.use` config is only for server side. So maybe a more 
suitable way here is that, at server side, like when initialize a region server 
or master, when `hbase.meta.replicas.use` is set to false, we force set the 
replica mode to NONE as it is useless to use other replica modes?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to