-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-4562. Old bucket needs to be accessible after the cluster was upgraded to the Quota version. #1677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-4562. Old bucket needs to be accessible after the cluster was upgraded to the Quota version. #1677
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,11 +32,16 @@ So far, we know that Ozone allows users to create volumes, buckets, and keys. A | |
| 1. Storage Space level quota | ||
|
|
||
| Administrators should be able to define how much storage space a Volume or Bucket can use. The following Settings for Storage space quota are currently supported: | ||
|
|
||
| a. By default, the quota for volume and bucket is not enabled. | ||
|
|
||
| b. When volume quota is enabled, the total size of bucket quota cannot exceed volume. | ||
|
||
|
|
||
| c. Bucket quota can be set separately without enabling Volume quota. The size of bucket quota is unrestricted at this point. | ||
|
|
||
| d. Volume quota is not currently supported separately, and volume quota takes effect only if bucket quota is set. Because ozone only check the usedBytes of the bucket when we write the key. | ||
|
|
||
| e. If the cluster is upgraded from old version less than 1.1.0, use of quota on older volumes and buckets is not recommended. Since the old key is not counted to the bucket's usedBytes, the quota setting is inaccurate at this point. | ||
|
||
|
|
||
| ## Client usage | ||
| ### Storage Space level quota | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The namespace quota introduction can also be added. We could file a new JIRA for tacking this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add namespace quota to this documentation: https://issues.apache.org/jira/browse/HDDS-4594. Before adding to documentation, I will first finish namespace support on bucket: https://issues.apache.org/jira/browse/HDDS-4277