[ 
https://issues.apache.org/jira/browse/HDDS-9285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Andika updated HDDS-9285:
------------------------------
    Description: 
After further thinking, in MPU abort request, 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" (HDDS-9017) open key clean up service will exclude them 
(HDDS-9098). Since both Open Key cleanup service and MPU abort do not clean the 
"open MPU part key", this might cause these open keys which set isMultipartKey 
to true 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
 * Open MPU part key: Cleaned during Open Key cleanup service

 

  was:
After further thinking, in MPU abort request, 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" (HDDS-9017) open key clean up service will exclude them 
(). Since both Open Key cleanup service and MPU abort do not clean the "open 
MPU part key", this might cause these open keys which set isMultipartKey to 
true 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
 * Open MPU part key: Cleaned during Open Key cleanup service

 


> Revert set isMultipartKey for Open MPU part keys
> ------------------------------------------------
>
>                 Key: HDDS-9285
>                 URL: https://issues.apache.org/jira/browse/HDDS-9285
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: OM
>    Affects Versions: 1.3.0
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>             Fix For: 1.4.0
>
>
> After further thinking, in MPU abort request, 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" (HDDS-9017) open key clean up service will exclude 
> them (HDDS-9098). Since both Open Key cleanup service and MPU abort do not 
> clean the "open MPU part key", this might cause these open keys which set 
> isMultipartKey to true 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
>  * Open MPU part key: Cleaned during Open Key cleanup service
>  



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