]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: allow ops with non-empty hobject key
authorKautilya Tripathi <kautilya.tripathi@ibm.com>
Sun, 1 Feb 2026 05:25:14 +0000 (10:55 +0530)
committerKautilya Tripathi <kautilya.tripathi@ibm.com>
Mon, 23 Feb 2026 02:42:46 +0000 (08:12 +0530)
commit2fba8c583a5e3911714e7aff7e790e6f79fb5923
treea9a261be6514597d8df29185ce3cdcf8f9e98fb2
parent3eb1b4644f29d4510f6261f56b15fd19e82757b4
crimson/osd: allow ops with non-empty hobject key

Crimson was rejecting OSD ops when hobject_t::key (locator) was non-empty,
returning -ENOTSUP (95). This broke RGW PutObject because RGW uses locators
for object names like "bucket/obj" to ensure objects land in the same PG.

The original code comment claimed locators were only used for multipart
upload clone_range, which is no longer supported. However, RGW still uses
locators for the fundamental object naming scheme, so this check was
incorrectly blocking basic RGW operations.

This fixes s3tests PutObject failing with HTTP 500 / internal error -95
Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
src/crimson/osd/osd_operations/client_request.cc