[Openstack-docs] [openstack/swift] DocImpact review request change I77cfbf6dc231a2e522bd67328e4c082424a93eed
gerrit2 at review.openstack.org
gerrit2 at review.openstack.org
Tue Dec 18 15:58:29 UTC 2012
Hi, I'd like you to take a look at this patch for potential
DocImpact.
https://review.openstack.org/18124
Log:
commit edfc1bce54cc17efaa0b203044d171bc909b0184
Author: Michael Barton <mike at weirdlooking.com>
Date: Mon Dec 3 14:00:00 2012 -0800
Basic container quotas
Add a new middleware implementing some basic container quotas.
Quotas are subject to several limitations: eventual consistency, the timeliness
of the cached container_info (60 second ttl by default), and itâs unable to
reject chunked transfer uploads that exceed the quota (though once the quota
is exceeded, new chunked transfers will be refused).
However, they get most of the way to container quotas fairly inexpensively.
Quotas are set by adding meta values to the container, and are validated when
set:
X-Container-Meta-Quota-Bytes: Maximum size of the container, in bytes.
X-Container-Meta-Quota-Count: Maximum object count of the container.
DocImpact
Change-Id: I77cfbf6dc231a2e522bd67328e4c082424a93eed
More information about the Openstack-docs
mailing list