Skip to content

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

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

joscollin merged 1 commit into
ceph:reeffrom
joscollin:wip-65980-reef

Conversation

@joscollin

@joscollin joscollin commented May 13, 2024 •

Copy link
Copy Markdown
Member

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 <[email protected]>
(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
Copy Markdown
Member Author

jenkins test api

@joscollin

Copy link
Copy Markdown
Member Author

@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