kaijchen commented on PR #3286:
URL: https://github.com/apache/ozone/pull/3286#issuecomment-1095875482

   > The case @captainzmc mentioned where remaining quota is less than 3X block 
size would still be a problem with this approach. I am not sure of a good 
solution for this.
   
   One solution is to allow block allocation exceed quota by at most 1 block 
size.
   
   * Each allocate block request checks that `existing open key size` + 
`current quota usage` <= `max quota`.
   * Each key commit checks that `total key size` + `current quota usage` <= 
`max quota`.


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