]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
neorados: Do not try to decode an empty response in notify
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 26 Nov 2025 03:15:13 +0000 (22:15 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 14 May 2026 23:17:47 +0000 (19:17 -0400)
commitfc77f82fd982ad29d1b1c611c0a30f47770a83e9
tree6018e1a6e0e992339f4a34cf823a899879b019aa
parentcb615de539e10e746b0a891dfb56ab0cfbedeb9b
neorados: Do not try to decode an empty response in notify

The response can be empty on some errors. Attempting to decode an
empty one loses the error value on valid errors. Also swallow any
decode errors.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 89134791c16a2332457cfea85321a07e9ff7ca87)
Fixes: https://tracker.ceph.com/issues/76434
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/neorados/RADOS.cc