[
https://issues.apache.org/jira/browse/RATIS-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947665#comment-17947665
]
Tsz-wo Sze commented on RATIS-2284:
-----------------------------------
Do you need to get these values externally? DivisionProperties is a public
API. We should only declare the required values.
> Move some properties from RaftServerImpl to DivisionProperties
> --------------------------------------------------------------
>
> Key: RATIS-2284
> URL: https://issues.apache.org/jira/browse/RATIS-2284
> Project: Ratis
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.1.1, 3.1.2
> Reporter: JiangHua Zhu
> Assignee: JiangHua Zhu
> Priority: Minor
>
> In RaftServerImpl, some properties are from RaftServerConfigKeys, which can
> be moved to DivisionProperties.
> They are:
> {code:java}
> private final TimeDuration leaderStepDownWaitTime;
> private final boolean memberMajorityAddEnabled;
> private final TimeDuration sleepDeviationThreshold;
> private final RaftServerConfigKeys.Read.Option readOption;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)