You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/01/19 17:14:42 UTC
[GitHub] [ozone] arp7 commented on a change in pull request #1807: HDDS-4430. OM failover timeout is too short
arp7 commented on a change in pull request #1807:
URL: https://github.com/apache/ozone/pull/1807#discussion_r560344168
##########
File path: hadoop-hdds/common/src/main/resources/ozone-default.xml
##########
@@ -1620,18 +1620,27 @@
<property>
<name>ozone.om.ratis.minimum.timeout</name>
- <value>1s</value>
+ <value>5s</value>
<tag>OZONE, OM, RATIS, MANAGEMENT</tag>
<description>The minimum timeout duration for OM's Ratis server rpc.
</description>
</property>
+ <property>
+ <name>ozone.om.ratis.leader.step.down.wait.time</name>
+ <value>30s</value>
+ <tag>OZONE, OM, RATIS, MANAGEMENT, DEPRECATED</tag>
+ <description>The time OM Ratis Leader waits before stepping down on loosing
+ majority heartbeats from followers.
+ </description>
+ </property>
+
<property>
<name>ozone.om.leader.election.minimum.timeout.duration</name>
- <value>1s</value>
- <tag>OZONE, OM, RATIS, MANAGEMENT</tag>
- <description>The minimum timeout duration for OM ratis leader election.
- Default is 1s.
+ <value>5s</value>
+ <tag>OZONE, OM, RATIS, MANAGEMENT, DEPRECATED</tag>
+ <description>DEPRECATED. Leader election timeout uses ratis
+ rpc timeout which can be set via ozone.om.ratis.minimum.timeout.
Review comment:
I don't think we need to add it to deprecated keys. This should not be a widely used config key.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org