From 47fcc5fca2c5020b69f3c2c7f0a8032f6c77354a Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Fri, 10 Jan 2014 07:14:43 +0000 Subject: [PATCH] Update account quota doc A note was added stating that the same limitations apply to account quotas as for container quotas. An example on uploads without a content-length headers was added. Related-Bug: 1267659 Change-Id: Ic29b527cb71bf5903c2823844a1cf685ab6813dd --- swift/common/middleware/account_quotas.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/swift/common/middleware/account_quotas.py b/swift/common/middleware/account_quotas.py index 174cd87978..d91f90f209 100644 --- a/swift/common/middleware/account_quotas.py +++ b/swift/common/middleware/account_quotas.py @@ -43,6 +43,13 @@ Remove the quota:: swift -A http://127.0.0.1:8080/auth/v1.0 -U account:reseller -K secret \ post -m quota-bytes: +The same limitations apply for the account quotas as for the container quotas. + +For example, when uploading an object without a content-length header the proxy +server doesn't know the final size of the currently uploaded object and the +upload will be allowed if the current account size is within the quota. +Due to the eventual consistency further uploads might be possible until the +account size has been updated. """