1
0
mirror of https://github.com/quay/quay.git synced 2026-01-29 08:42:15 +03:00

Revert "chore: Add server side assembly of chunked metadata for RADOSGW driver (PROJQUAY-4592) (#1557)" (#1647)

This reverts commit cdb52ed023.
Noobaa has issues assembling big blobs from keys so this needs to be reverted and more testing is required.

Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
This commit is contained in:
OpenShift Cherrypick Robot
2022-11-28 18:24:02 +00:00
committed by GitHub
parent 59937c6dbf
commit f61ba51171

View File

@@ -965,6 +965,15 @@ class RadosGWStorage(_CloudStorage):
return super(RadosGWStorage, self).get_direct_upload_url(path, mime_type, requires_cors)
def complete_chunked_upload(self, uuid, final_path, storage_metadata):
self._initialize_cloud_conn()
# RadosGW does not support multipart copying from keys, so we are forced to join
# it all locally and then reupload.
# See https://github.com/ceph/ceph/pull/5139
chunk_list = self._chunk_list_from_metadata(storage_metadata)
self._client_side_chunk_join(final_path, chunk_list)
class RHOCSStorage(RadosGWStorage):
"""