Skip to content

reef: cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails#57437

Merged
joscollin merged 1 commit intoceph:reeffrom
joscollin:wip-65980-reef
Jun 17, 2024
Merged

reef: cephfs_mirror: increment sync_failures when sync_perms() and sync_snaps() fails#57437
joscollin merged 1 commit intoceph:reeffrom
joscollin:wip-65980-reef

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented May 13, 2024

Backport: 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/65980
Original-issue: https://tracker.ceph.com/issues/65345
(cherry picked from commit 57ec7c7)
Original-PR: 56135

…ps() 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>
(cherry picked from commit 57ec7c7)
@github-actions github-actions bot added the cephfs Ceph File System label May 13, 2024
@github-actions github-actions bot added this to the reef milestone May 13, 2024
@joscollin
Copy link
Member Author

jenkins test api

@joscollin
Copy link
Member Author

Tested in https://tracker.ceph.com/issues/66468

@joscollin joscollin merged commit 8a4cbc9 into ceph:reef Jun 17, 2024
@joscollin joscollin deleted the wip-65980-reef branch June 17, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix cephfs Ceph File System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants