ivandika3 commented on code in PR #9222:
URL: https://github.com/apache/ozone/pull/9222#discussion_r2526614509
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/OMConfigKeys.java:
##########
@@ -258,6 +258,16 @@ public final class OMConfigKeys {
public static final boolean
OZONE_OM_RATIS_SERVER_ELECTION_PRE_VOTE_DEFAULT = true;
+ public static final String OZONE_OM_HA_RAFT_SERVER_READ_OPTION =
+ "ozone.om.ha.raft.server.read.option";
+ public static final String
+ OZONE_OM_HA_RAFT_SERVER_READ_OPTION_DEFAULT = "DEFAULT";
+
+ public static final String OZONE_OM_HA_RAFT_SERVER_READ_LEADER_LEASE_ENABLED
=
+ "ozone.om.ha.raft.server.read.leader.lease.enabled";
+ public static final boolean
+ OZONE_OM_HA_RAFT_SERVER_READ_LEADER_LEASE_ENABLED_DEFAULT = false;
Review Comment:
I think this can be moved under `OzoneManagerRatisServerConfig`
--
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]