]> 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>
Mon, 30 Oct 2023 04:49:20 +0000 (10:19 +0530)
commita36f5ed185cbcd788e36ad22a00cfe9dcdfdfe7f
treec30219dd88fbc5322fc243ff034e79c2ffe06769
parent2ee87b3e4d9054952021e2c0792c738d281c1760
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>
src/client/Client.cc