HDDS-14350. Ratis configurations for ozone helm charts - #51
Conversation
|
PTAL @adoroszlai Thank you! |
dnskr
left a comment
There was a problem hiding this comment.
Thanks for the PR!
I’d love a bit more context on why we need this new configuration approach.
Because it’s very generic and empty by default, users could supply any property through it (including non-Ratis ones). It seems like we can achieve the same outcome using the existing configuration.files or configuration.filesFrom properties. Unless there's a specific use case this addresses that the existing options don't, I'd suggest sticking with those to avoid duplication.
Agreed. This isn't strictly necessary. Existing options already cover it (we can also use |
What changes were proposed in this pull request?
Analyse Ratis configurations for handling network partitions / slow networks, covering Ratis timeouts, heartbeat settings, and leader election. This follows up on the HA Helm work in comment r2632023653.
ratis.ozoneSitetovalues.yaml: an empty map by default for optionalozone-siteproperty overrides, with a curated, commented example list covering OM/SCM Ratis network-resilience timeouts and leader election.ratis.ozoneSiteentries asOZONE-SITE.XML_*env vars fromozone.configuration.env.commonin_helpers.tpl, reusing the convention already used throughout the chart.Curated keys documented as commented examples in
values.yaml(any otherozone-siteproperty can also be set via this map):
ozone.om.ratis.server.request.timeout,ozone.om.ratis.minimum.timeout,ozone.om.ratis.server.failure.timeout.duration,ozone.om.ratis.server.leaderelection.pre-voteozone.scm.ha.ratis.request.timeout,ozone.scm.ha.ratis.leader.election.timeout,ozone.scm.ha.raft.server.rpc.first-election.timeout,ozone.scm.ha.ratis.server.leaderelection.pre-vote,ozone.scm.ha.ratis.server.failure.timeout.durationWhat is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14350
How was this patch tested?