]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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, 6 Apr 2026 02:18:46 +0000 (07:48 +0530)
commitb9198a6a202feccc950617b98e698016ee987de7
treecb3ec9877f691a620f0b9fca0a1ee4f4da240534
parent71d5d72a490843d11615341753bd23d422bcfa0a
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