]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: 'reshard list' doesn't log ENOENT errors 45451/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 11 Oct 2021 18:25:37 +0000 (14:25 -0400)
committerCory Snyder <csnyder@iland.com>
Mon, 28 Nov 2022 07:42:54 +0000 (02:42 -0500)
commitd97a02e459768f6b8023c8dc024cd94c4f92a33a
tree9a353a2d435d294fe63f839d0f59bb6bf03580fb
parent47739ba7fd1f4e6f5546622dc61ebd67a1e45598
radosgw-admin: 'reshard list' doesn't log ENOENT errors

ENOENT errors are expected, especially in fresh clusters, before we've
written any entries to the reshard list shards. avoid logging these
non-fatal ERROR messages:

> -1 ERROR: failed to list reshard log entries, oid=reshard.0000000000 marker= (2) No such file or directory

Fixes: https://tracker.ceph.com/issues/52873
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 952c7c844acee5fe73e3f70737606b700b67238c)

Conflicts:
src/rgw/rgw_reshard.cc

Cherry-pick notes:
- pacific using lderr vs ldpp_dout
src/rgw/rgw_reshard.cc