captainzmc opened a new pull request #1677:
URL: https://github.com/apache/ozone/pull/1677


   ## What changes were proposed in this pull request?
   
   long quotaInBytes are new fields in the bucketArgs, this field will go to 0 
by default in the old bucket when the old cluster is upgraded. At this point, 
the data writes are rejected.
   
   This is similar to creating a bucket without specifying quotaInBytes, where 
quotaInBytes is set to -1 by default via getQuotaValue. We can use 0 as a 
special term.
   
   
![image](https://user-images.githubusercontent.com/13825159/101566773-875c7700-3a0a-11eb-847e-f40d20a49cc4.png)
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4562
   
   ## How was this patch tested?
   
   ut added
   


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

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