This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/storage
Matt Jibson a821ad2b01 Return an error on failed S3 uploads
The previous change to this file didn't raise the error up to stream_write,
and so the complete_upload function still ran because the loop was only
broken. It errored because the data was already canceled. This is better
than what we had before, which was to silently fail but report success
(even internally to ourselves!) on bad image upload.

This means we discovered a bug where a user could have failed during image
upload, but quay would write that image to the repository, potentially
writing broken images to S3.
2015-09-01 15:53:32 -04:00
..
__init__.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
basestorage.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
cloud.py Return an error on failed S3 uploads 2015-09-01 15:53:32 -04:00
distributedstorage.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
fakestorage.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
local.py Add automatic storage replication 2015-09-01 14:53:32 -04:00
swift.py Always create a new connection to Swift 2015-08-07 13:41:40 -04:00