]> 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:40:10 +0000 (13:40 +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 299421e726928338459c402d4d2e9c074f6d1d2f..dafdd2e9995d48875cbc234189cb9f315f0a3f0e 100644 (file)
@@ -3999,6 +3999,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" ||