]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix spurious error on empty datalog shard 40262/head
authorAdam C. Emerson <aemerson@redhat.com>
Tue, 19 Jan 2021 19:47:27 +0000 (14:47 -0500)
committersinguliere <singuliere@autistici.org>
Fri, 19 Mar 2021 18:24:46 +0000 (19:24 +0100)
commit565efc038f59bf2c43549d50297ffcdcf2515a5a
treeccd24c1b5c70a21eec351b91a63c04853aa306fa
parente53ee8bd1dc964028c4186341e1e339ad8aa978b
rgw: Fix spurious error on empty datalog shard

-ENOENT on a shard simply means nothing has been written to it
yet. Return no entries and no error.

Also change dout_subsys target for fifo client so probes don't fill up
the logs.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Fixes: https://tracker.ceph.com/issues/48929
(cherry picked from commit 8c5c7c7a9098fc688f63503b254065e5b3b4ae45)
src/rgw/cls_fifo_legacy.cc
src/rgw/rgw_datalog.cc