]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: fix omap key removal encoding mismatch wip-kautilya-crimson-rgw-sts
authorKautilya Tripathi <kautilya.tripathi@ibm.com>
Mon, 16 Feb 2026 07:23:37 +0000 (12:53 +0530)
committerKautilya Tripathi <kautilya.tripathi@ibm.com>
Mon, 23 Feb 2026 04:57:00 +0000 (10:27 +0530)
commit0cca2ac6b7c7668757e6420132e2ab1567d76254
treeab4e1c694f3f03145e6acb50cf00a9e035737268
parent892027640ea13bad981bc59357bba71b6bc314e8
crimson/osd: fix omap key removal encoding mismatch

RGW bucket deletion via cls_user_remove_bucket was failing on Crimson
because cls_cxx_map_remove_key() encoded a std::vector<string> while
PGBackend::omap_remove_key() expected and decoded a std::set<string>
using decode_str_set_to_bl(). This mismatch caused OMAP keys to not be
removed, leaving stale bucket entries that broke test_list_buckets_*.

Fix by encoding std::set<std::string> in cls_cxx_map_remove_key() to
match the backend's decode_str_set_to_bl() expectation, aligning with
classic OSD behavior.

This fixes: s3 test_list_buckets_* tests on Crimson

Signed-off-by: Kautilya Tripathi <kautilya.tripathi@ibm.com>
src/crimson/osd/objclass.cc