]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: call _getattr() for -ENODATA returned _getvxattr() calls
authorJos Collin <jcollin@redhat.com>
Wed, 18 Oct 2023 12:59:06 +0000 (18:29 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 8 Nov 2023 02:14:19 +0000 (07:44 +0530)
commit5fa3849a588fa8dcf6655c7423f469002fbf69b6
tree1f190edfd2fda156007496e55bff20cfaf65028b
parent55e3239498650453ff76a9b06a37f1a6f488c8fd
client: call _getattr() for -ENODATA returned _getvxattr() calls

_getvxattr rpc doesn't handle ceph.mirror.* attributes and always
returns -ENODATA for ceph.mirror.* attributes. This prevents
incremental syncing of snapshots. So let them call _getattr()
and proceed.

Fixes: https://tracker.ceph.com/issues/63099
Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit a36f5ed185cbcd788e36ad22a00cfe9dcdfdfe7f)
src/client/Client.cc