chihsuan commented on PR #10795:
URL: https://github.com/apache/ozone/pull/10795#issuecomment-5091722787

   > Thanks @chihsuan for working on this. I noticed that `recalculateUsages` 
includes a batching design. Would it be possible to extend this approach for 
`recalculateMultipartUsages` as well?
   
   Good point! I initially followed the single-threaded pattern used by the 
deletedTable scans, assuming that `multipartInfoTable` would typically remain 
small. However, processing each MPU can be relatively expensive, especially for 
split-part MPUs, so batching should help when incomplete MPUs accumulate. I’ll 
update the PR accordingly.


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