Ren Koike created HDDS-16163:
--------------------------------

             Summary: Fix TrashOzoneFileSystem error handling on LEGACY buckets
                 Key: HDDS-16163
                 URL: https://issues.apache.org/jira/browse/HDDS-16163
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Filesystem
            Reporter: Ren Koike
            Assignee: Ren Koike


On LEGACY buckets (non-FSO path), *delete()* and 
*{color:#172b4d}rename(){color}* could report success even when the underlying 
OM write failed:
 # *RenameIterator* / *DeleteIterator* swallowed errors - *submitRequest()* 
failures were caught, logged, and iteration continued as if nothing failed.
 # Return values were ignored — top-level *delete()* / *rename()* always 
returned true even when *iterate()* returned false.
 # Null *OMRequest* was not handled — if create *OMRequest()* failed, a null 
request could be passed to *submitRequest()* or fail without propagating 
failure to the caller.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to