xBis7 commented on PR #3948: URL: https://github.com/apache/ozone/pull/3948#issuecomment-1321813633
> What will happen to the cluster when it is restarted with this change? The user would be prompted to set one of the existing configs, but what if they set it to a different directory than SCM was previously using, so SCM has no cert information? @errose28 with the current code, let's say that we have a cluster running and SCM uses `ozone_metadata_dirs` to store cert info. If we change the location for `ozone_metadata_dirs` config then SCM will use that location instead. If we remove the config and restart the SCM, then it will crash. If we replace the config with `hdds.metadata.dir`, then it will use that location instead. Everytime the SCM shuts down, it removes all certs and then recreates them. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
