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

   ## What changes were proposed in this pull request?
   
   After further thinking, in MPU abort request handling, we only clean up the 
"open MPU key" and not the "open MPU part key". However since we set 
isMultipartKey in the "open MPU part key" 
(https://github.com/apache/ozone/pull/5072) and open key clean up service will 
exclude them (https://github.com/apache/ozone/pull/5214), both Open Key cleanup 
service and MPU abort will not clean the "open MPU part key", this might cause 
these open keys to be in the openKeyTable forever.
   
   Let's treat the "open MPU part key" as normal open key by not setting the 
isMultipartKey flag to true so that it can be cleaned by Open Key cleanup 
service.
   
   To summarize:
   - Open MPU key: Cleaned during MPU abort request (and MPU cleanup service to 
be implemented in https://issues.apache.org/jira/browse/HDDS-9194)
   - Open MPU part key: Cleaned during Open Key cleanup service
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9285
   
   ## How was this patch tested?
   
   Unit tests.
   


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