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

Ivan Andika commented on HDDS-10972:
------------------------------------

[~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)
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE

real    3m3.037s
user    0m9.957s
sys     0m1.106s 
hdds.ratis.raft.server.watch.timeout=30s -> client needs to wait for around 30s
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE

real    0m33.897s
user    0m9.990s
sys       0m1.346s 
hdds.ratis.raft.server.watch.timeout=10s -> client needs to wait for around 10s
{code}
time ozone sh key put /vol1/bucket1/key1 ~/LICENSE.txt --type RATIS -r THREE

real    0m13.319s
user    0m9.966s
sys     0m1.102s{code}

> 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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to