]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add wildcard "*" support for conditional read 64428/head
authorsungjoon-koh <sungjoon_koh@linecorp.com>
Thu, 10 Jul 2025 07:05:31 +0000 (16:05 +0900)
committersungjoon_koh <sungjoon_koh@linecorp.com>
Tue, 19 Aug 2025 15:52:42 +0000 (00:52 +0900)
commitbeba28f2f4da12bd572325d80469709037009d98
treee6f576bdbf2fe9a9f8bc4f48037f640e54f7f0c2
parent7b5fe620593d347c0d025daa20ed68b00ba4af35
rgw: add wildcard "*" support for conditional read

- Enhanced If-Match and If-None-Match headers to support the wildcard "*".
- Updated conditional read behavior:
  - If-Match: * now returns 200 instead of 412 when any object exists.
  - If-None-Match: * now returns 304 instead of 200 when any object exists.
  - If-Match: * + If-None-Match: * now returns 304 instead of 412.
- Aligns with AWS S3 expected functionality for improved efficiency.

Signed-off-by: sungjoon_koh <sungjoon_koh@linecorp.com>
src/rgw/driver/dbstore/common/dbstore.cc
src/rgw/driver/rados/rgw_rados.cc