]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
tools: handle get-attr as read-only ops in ceph_objectstore_tool
authorJaya Prakash <jayaprakash@ibm.com>
Mon, 3 Nov 2025 19:39:45 +0000 (19:39 +0000)
committerJaya Prakash <jayaprakash@ibm.com>
Fri, 5 Dec 2025 13:49:23 +0000 (13:49 +0000)
Fixes: https://tracker.ceph.com/issues/73710
Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
(cherry picked from commit 85e0081a0023ef5dd725bd639f8f716149cfa26b)

src/tools/ceph_objectstore_tool.cc

index 1266bda5a186a14b4f08e52bf172a60b3edb03a2..8f7cb38ef72801fec11e273763c66ae680bf6220 100644 (file)
@@ -3884,6 +3884,7 @@ int main(int argc, char **argv)
     op == "get-inc-osdmap" ||
     objcmd == "get-bytes" ||
     objcmd == "get-attrs" ||
+    objcmd == "get-attr" ||
     objcmd == "get-omap" ||
     objcmd == "get-omaphdr" ||
     objcmd == "list-attrs" ||