siddhantsangwan opened a new pull request, #8228:
URL: https://github.com/apache/ozone/pull/8228

   ## What changes were proposed in this pull request?
   Please see the jira for a description of the problem. This pull request 
tries to fix the committedSpace calculation for all cases:
   1. When the size of the container after writing is less than max (5GB).
   2. Size of the container after writing exactly equals max.
   3. Size of the container after writing exceeds max.
   4. The container was exactly full before writing.
   5. When `committedSpace` is false before writing.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-12691
   
   ## How was this patch tested?
   
   Added unit tests. Draft while CI is running in my fork.
   


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