[
https://issues.apache.org/jira/browse/HDDS-10972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851861#comment-17851861
]
Ivan Andika edited comment on HDDS-10972 at 6/4/24 1:32 AM:
------------------------------------------------------------
[~smeng] Thanks for testing the configuration.
Tested with ozone-ha docker-compose environment with one DN down (using "docker
container pause")
Without watch timeout configuration change -> client needs to wait for 3
minutes (the default hdds.ratis.raft.server.watch.timeout configuration)
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 3m3.037s
user 0m9.957s
sys 0m1.106s {code}
hdds.ratis.raft.server.watch.timeout=30s -> client needs to wait for around 30s
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 0m33.897s
user 0m9.990s
sys 0m1.346s {code}
hdds.ratis.raft.server.watch.timeout=10s -> client needs to wait for around 10s
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 0m13.319s
user 0m9.966s
sys 0m1.102s{code}
The watch timeout configuration sets the upper bound of how long the watch
request will wait. I think 10s is a good starting value. We're going to do
another internal release with the update datanodes and will monitor them.
was (Author: JIRAUSER298977):
[~smeng] Thanks for testing the configuration.
Tested with ozone-ha docker-compose environment with one DN down (using "docker
container pause")
Without watch timeout configuration change -> client needs to wait for 3
minutes (the default hdds.ratis.raft.server.watch.timeout configuration)
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 3m3.037s
user 0m9.957s
sys 0m1.106s {code}
hdds.ratis.raft.server.watch.timeout=30s -> client needs to wait for around 30s
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 0m33.897s
user 0m9.990s
sys 0m1.346s {code}
hdds.ratis.raft.server.watch.timeout=10s -> client needs to wait for around 10s
{code:java}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE
real 0m13.319s
user 0m9.966s
sys 0m1.102s{code}
The watch timeout configuration sets the upper bound of how long the watch
request will wait.
> Reduce the default watch timeout configuration in DatanodeRatisServerConfig
> ---------------------------------------------------------------------------
>
> Key: HDDS-10972
> URL: https://issues.apache.org/jira/browse/HDDS-10972
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]