]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails 56135/head
authorJos Collin <jcollin@redhat.com>
Tue, 12 Mar 2024 06:07:18 +0000 (11:37 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 10 Apr 2024 12:14:27 +0000 (17:44 +0530)
commit57ec7c76344253322dd8013f6ceb6b59bbd96113
treeb8c7648e74243d25df9e50f1ba09244f2a3f201b
parent6e65a1afb81d294346632137b6a1fc5bf531c649
cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails

When sync_perms() fails  _inc_failed_count() is called for incrementing the failed count.
So it's better reflect that in the metrics too. Does the same for sync_snaps() too.

Fixes: https://tracker.ceph.com/issues/65345
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/tools/cephfs_mirror/PeerReplayer.cc
src/tools/cephfs_mirror/PeerReplayer.h