ashishkumar50 opened a new pull request, #5253: URL: https://github.com/apache/ozone/pull/5253
## What changes were proposed in this pull request? moveToTrash is not checking for return value of rename API. When rename fails due to various reasons, still moveToTrash assume it as success. This leads to inconsistent behaviour, one which is mentioned in Jira description(HDDS-9136). In this PR, If there is failure in rename operation, we are throwing exception to know moveToTrash has failed. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9136 ## How was this patch tested? Manually tested. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
