]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/cloud-transition: check bucket existence before create
authorMatthew N. Heler <matthew.heler@hotmail.com>
Fri, 5 Dec 2025 16:52:55 +0000 (10:52 -0600)
committerMatthew N. Heler <matthew.heler@hotmail.com>
Thu, 30 Apr 2026 15:33:38 +0000 (10:33 -0500)
commit652a9ba8c52bea3c352b5873ceeca3ee3280f10e
tree80fc31cfb8b4b5062e178cd17ec92b380cd22cb8
parent6ca1db424c61789280c4ffd9e28804b0aba01950
rgw/cloud-transition: check bucket existence before create

Add HEAD request to check if target bucket exists before attempting
to create it. This avoids unnecessary PUT requests when the bucket
already exists on the remote endpoint.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
src/rgw/driver/rados/rgw_lc_tier.cc