sumitagrawl commented on PR #11685: URL: https://github.com/apache/ozone/pull/11685#issuecomment-6420778615
@lpavanvenkat @devmadhuu Normally if key is part of open key / open file table, its never recorded about datasize, as it comes only after its committed. And for MPU, its counted only after part is committed. Till that point, that open part is never counted to MPU. I think, after part is committed to MPU, it will show the bytes used as MPU. 1) IMO, open key/ open file, should not be counted as part of MPU in summary, but be counted as open key/file only. 2) OpenKey/OpenFile usages can be approx only, and there we can have approx size based on blocks allocated. This can not give actual used size as during commit, may failed / partial failed blocks can be removed. So here, can identify size based on number of blocks and assumed block size. This may not need any code change in OM, but recon can make this assumption in calculation if required. -- 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]
