sokui commented on PR #7566:
URL: https://github.com/apache/ozone/pull/7566#issuecomment-2578709988

   > Could you also help to add some tests? I'm not entirely sure in what 
conditions will missing parent directories might happen.
   
   Hi @ivandika3 , to be honest, I am not sure what the root cause. As stated 
in https://github.com/apache/ozone/pull/6496, the files 
([S3InitiateMultipartUploadRequestWithFSO.java](https://github.com/apache/ozone/blob/83d75861b0266160b219acde72d769eb0f9d5ac4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3InitiateMultipartUploadRequestWithFSO.java#L192-L207),
 
[S3InitiateMultipartUploadResponseWithFSO.java](https://github.com/apache/ozone/blob/83d75861b0266160b219acde72d769eb0f9d5ac4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/s3/multipart/S3InitiateMultipartUploadResponseWithFSO.java#L83-L107))
 contains this logic.I can understand we are missing the parent directories 
initially, but why we missing these directories in the complete, abort and 
exprire phases? Is it possible that between adding the open key to the table 
and adding the missing parent directories, ozone (om) got interrupted, leaving 
the open key 
 exists but parent directories not there?


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