[
https://issues.apache.org/jira/browse/HDDS-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750509#comment-17750509
]
István Fajth commented on HDDS-2647:
------------------------------------
[~ritesh], sorry for the late response, to be honest, I don't know. I haven't
followed if there were any changes in how we handle raft configuration.
> Ozone DataNode does not set raft.server.log.corruption.policy to the
> RaftServer implementation it uses
> ------------------------------------------------------------------------------------------------------
>
> Key: HDDS-2647
> URL: https://issues.apache.org/jira/browse/HDDS-2647
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: István Fajth
> Priority: Critical
>
> In the XceiverServerRatis class which is used by the DataNode as well to
> create the RaftServer implementation that is used, there is a method called
> newRaftProperties() which is there to set up the RaftProperties object
> specified for the RaftServer it starts.
> This method is pretty hard to keep in sync with all the ratis properties, and
> due to an issue where I was turned to RATIS-677 which introduced a new
> configuration, I was not able to set this new property via the DataNode's
> ozone-site.xml, as it was not forwarded to the Ratis server.
> On the long run we would need a better implementation that does not need
> tuning and follow up for every new Ratis property, however at the moment as a
> wuick fix we can just provide the property. Depending on the implementor, if
> we go with the easy way, then please create a new JIRA for a better solution
> after finishing this one. Also if I am wrong, and Ratis properties can be
> defined for the DN properly elsewhere, please let me know.
> As OM is also using Ratis in HA configuration, this one should be checked
> there as well, however this one is not really important until RATIS-762 is
> fixed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]