maobaolong opened a new pull request #1231: URL: https://github.com/apache/hadoop-ozone/pull/1231
## What changes were proposed in this pull request? Write object when met exception can be slower than before, and i realized HDDS-3350 using a newer retry policy replace the existing retry policy, and the old configure items has been removed, so the behavior has been changed, i guess that is a behavior incompatible, so i trying to use a policy framework to let users can specify it to which policy they want, default to the `RetryLimitedPolicy` ## What is the link to the Apache JIRA HDDS-3994 ## How was this patch tested? Set configure key `dfs.ratis.client.request.retry.policy` to `org.apache.hadoop.hdds.ratis.retrypolicy.RetryLimitedPolicyCreator` or `org.apache.hadoop.hdds.ratis.retrypolicy.RequestTypeDependentRetryPolicyCreator` set the OrderedAsync logLevel to TRACE by execute the following command. curl 'http://0.0.0.0:19878/logLevel?log=org.apache.ratis.client.impl.OrderedAsync&level=TRACE' put a file to s3g and see the behavior of the retry policy by view the s3g log. ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
