This bug is related to v1, which has not been supported in a while, so
I'll close this bug report. Sorry we never took care of it.

** Changed in: glance
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1368516

Title:
  Quota Error In the Case of Parallel Execute

Status in Glance:
  Won't Fix

Bug description:
  When a user upload several images at the same time,the storage usage of him 
may exceed the quota limit.
  See sample here:
  In glance/glance/api/v1/upload_utils.py  Line123   2014/9/12
  The Process has finished upload and pass the second quota check,But not yet 
writes the size to the database.When another process finishes uploading,It will 
also pass the quota check.
  Here's a case:
  user_storage_quota = 20 MB,Upload 2 Images which size are both 17MB.
  Let the first process sleep 50 seconds before writes the size to the 
database,The two Images all successful uploaded and returned to user.
  Now,My user_storage_quota = 10GB But I have 10 images,every image's size is 8G

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1368516/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to