zuul-registry/zuul_registry
James E. Blair 7be52cae3a Don't upload empty final chunks
An upload can be finished with a PUT with no body.  If that happens,
we send an empty chunk to our backend, which can end up using
extra storage and potentially using multipart objects on object
storage servers when not strictly necessary.

Simplify this by checking to see if we are getting any data from the
client before we start our push to the backend.

Change-Id: Ia2069364ba2a5e03331f9eabca692b5aa065ce6e
2024-01-03 11:00:51 -08:00
..
__init__.py Fix container image build 2019-10-02 13:50:42 -04:00
filesystem.py Add logging to filesystem driver 2024-01-03 11:00:51 -08:00
hasher.py Replace rehash with sha256 2024-01-03 11:00:51 -08:00
main.py Update the docker images to python 3.10 2022-10-14 15:31:12 -07:00
storage.py Don't upload empty final chunks 2024-01-03 11:00:51 -08:00
storageutils.py Rework the stream_blob/stream_object API 2019-10-07 19:41:07 +00:00
swift.py Perform atomic upload updates v2 2022-02-28 14:16:03 -08:00