ashishkumar50 opened a new pull request, #6218:
URL: https://github.com/apache/ozone/pull/6218

   ## What changes were proposed in this pull request?
   When `enableFileSystemPath` is true and bucket layout is legacy, during key 
delete operation in normalizekey(prexecute) it removes trailing slash, but in 
DB key is present with trailing slash. And because of this KEY_NOT_FOUND error 
comes.
   In this PR we are preserving trailing slash  if `enableFileSystemPath` is 
true and bucket layout is legacy during delete operation.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10360
   
   ## How was this patch tested?
   
   Update existing test
   


-- 
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]

Reply via email to