]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix log_remove spurious -EIO on non-existent FIFO shards 69293/head
authorShilpa Jagannath <smanjara@redhat.com>
Thu, 4 Jun 2026 17:52:57 +0000 (13:52 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Thu, 4 Jun 2026 17:52:57 +0000 (13:52 -0400)
commit78b6005865895b85b28f5e09454ed71d5cd390d3
tree70c4fb59895d8ffd04210ceb16e01b2ecbb3149b
parent2314f7ae3930de47b50d7fd56ef53d169630d3bb
rgw: fix log_remove spurious -EIO on non-existent FIFO shards

the shared error code `ec` was not cleared before continuing
past a non-existent shard (ENOENT from get_meta). and if the last
shard returned ENOENT, `ec` retained that value and the
fired EIO even though all shards were cleanly removed.

also switch to sys::system_error(ec) to preserve the real errno

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/driver/rados/rgw_log_backing.cc