You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:21:24 UTC

[GitHub] [ozone] hanishakoneru edited a comment on pull request #1494: HDDS-4330. Bootstrap new OM node

hanishakoneru edited a comment on pull request #1494:
URL: https://github.com/apache/ozone/pull/1494#issuecomment-859696879


   > To try this scenario, you can update ozone-ha docker-compose.yaml to use below change
   
   This scenario will not work because OM1 was started with all 3 peer information. So it formed a ring assuming there are 3 peers in the system. But since only om1 is active, the Leader Election will never finish.
   
   To test bootstrap, we would have to start non-HA or HA regularly and then update the confs to include a new OM and start the new OM in bootstrap mode.
   
   > To convert non-HA to HA cluster? (Because for this on a single node we need to enable ratis and restart? And also serviceID is not configured, we use omServiceIdDefault (If we don't specify we use this). And also we need to download snapshot outside ratis, because there are some transactions that happened outside of ratis? As even though we enable ratis, new transactions will be in ratis log, and new OM is bootstrapped it only gets these new logs (If not purged, but it does not get DB, so that is why we need to download snapshot outside ratis)
   
   Yes. I will open a new Jira to address this scenario. We could transfer a checkpoint to a bootstrapping OM before the setConf request (but only when there are non-ratis transactions in RocksDB?).
   _Update - HDDS-5338_
   
   > And also a Ratis enabled cluster to HA cluster, I think this can work, if the config has HA style no issues, else if not HA style again they need to use omServiceIdDefault. (No need of download snapshot out side ratis, as this cluster from begining it is ratis enabled)
   Can we have a follow-up Jira to give have some documentation on how to handle the above cases?
   
   Sure. I will open a follow up Jira for this.
   _Update - HDDS-5339_
   


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org