[
https://issues.apache.org/jira/browse/HDDS-9551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17790723#comment-17790723
]
Dave Teng edited comment on HDDS-9551 at 11/28/23 6:50 PM:
-----------------------------------------------------------
There is already one client side configuration parameter, "max.retries", which
limits the maximum times of retries by ozone client, default value is 5 times.
([https://github.com/apache/ozone/blob/master/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java#L130-L135)]
If client encounters exception when writing key, "handleException" method
([https://github.com/apache/ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyOutputStream.java#L373-L379])
in KeyOutputStream will use "handleRetry" to decide whether the client should
retry or not, based on retry policy.
([https://github.com/apache/ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyOutputStream.java#L394-L398])
was (Author: JIRAUSER292649):
There is already one client side configuration parameter, "max.retries", which
limits the maximum times of retries by ozone client
([https://github.com/apache/ozone/blob/master/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java#L130-L135)]
If client encounters exception when writing key, "handleException" method
(https://github.com/apache/ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyOutputStream.java#L373-L379)
in KeyOutputStream will use "handleRetry" to decide whether the client should
retry or not, based on retry policy.
(https://github.com/apache/ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyOutputStream.java#L394-L398)
> Allow the client write to fall back to nodes in the exclude list if that is
> all that is available
> -------------------------------------------------------------------------------------------------
>
> Key: HDDS-9551
> URL: https://issues.apache.org/jira/browse/HDDS-9551
> Project: Apache Ozone
> Issue Type: Task
> Components: Ozone Client
> Reporter: Dave Teng
> Assignee: Dave Teng
> Priority: Major
> Labels: pull-request-available
>
> Allow the client write to fall back to nodes in the exclude list if that is
> all that is available
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]