[ 
https://issues.apache.org/jira/browse/RATIS-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947910#comment-17947910
 ] 

Tsz-wo Sze commented on RATIS-2284:
-----------------------------------

If there are no usage currently, let's keep them private since public APIs are 
high-maintenance.

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

Reply via email to