chihsuan opened a new pull request, #10795: URL: https://github.com/apache/ozone/pull/10795
## What changes were proposed in this pull request? This change updates `QuotaRepairTask` to include committed parts from incomplete multipart uploads when rebuilding the bucket usedBytes. Previously, quota repair omitted these parts. A subsequent multipart upload abort released their replicated size, which could cause usedBytes to become negative. The repair task now scans the `multipartInfoTable` from its checkpoint. It calculates legacy MPU parts using the same replicated-size calculation as abort and uses `OMMultipartUploadUtils` for split-part MPUs. It adds only `usedBytes`; MPU parts do not consume `usedNamespace`. The change also adds OBS and FSO coverage for legacy and split-parts MPU entries, part replacement, namespace accounting, and aborting after repair. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15835 ## How was this patch tested? - `mvn -pl :ozone-manager test -Dtest=TestQuotaRepairTask -DskipShade -DskipRecon -DskipDocs` - `./hadoop-ozone/dev-support/checks/checkstyle.sh` Generated-by: Codex (GPT-5) -- 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]
