]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: 'reshard list' doesn't log ENOENT errors 45452/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 11 Oct 2021 18:25:37 +0000 (14:25 -0400)
committerCory Snyder <csnyder@iland.com>
Wed, 16 Mar 2022 18:02:50 +0000 (14:02 -0400)
commit87990cc12109499a8b1c460c654de1ca965eae8c
tree57daa7dd962e8675985c1a545d741d67adfe122f
parent065c9d29f7426c283cf80fed433ed59efc43fe5e
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:
- Octopus using lderr vs ldpp_dout
src/rgw/rgw_reshard.cc