You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/09/25 18:42:00 UTC

[jira] [Updated] (HDDS-6399) Update bucket usage for discarded parts on MultipartUploadComplete

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

Attila Doroszlai updated HDDS-6399:
-----------------------------------
    Summary: Update bucket usage for discarded parts on MultipartUploadComplete  (was: Bucket usage should be updated on MultipartUploadComplete)

> Update bucket usage for discarded parts on MultipartUploadComplete
> ------------------------------------------------------------------
>
>                 Key: HDDS-6399
>                 URL: https://issues.apache.org/jira/browse/HDDS-6399
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Manager
>    Affects Versions: 1.2.0
>            Reporter: UENISHI Kota
>            Assignee: Mohammad Arafat Khan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> During my work for HDDS-5656, thanks to [the reviewer's comment|https://github.com/apache/ozone/pull/2813/files#r817253974], I have found that usage size of a bucket is not updated when a mutlipart upload is committed. In [S3MultipartUploadCompleteRequest|https://github.com/apache/ozone/blob/53d25b92ee5490cea72bbf07045ea9593dc982c4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3MultipartUploadCompleteRequest.java] (and Response), unused parts shall be deleted. The data size of those *all* parts, including unused parts, are already counted as used even before multipart upload commit. In this case, the size of unused parts, (and with HDDS-5656, overwritten object), should be subtracted from total size of a bucket.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org