Skip to content

cephfs_mirror: update recovery from failure in ServiceDaemon - #66085

Closed
joscollin wants to merge 2 commits into
ceph:mainfrom
joscollin:wip-B73648-update-recovery
Closed

joscollin wants to merge 2 commits into
ceph:mainfrom
joscollin:wip-B73648-update-recovery

Conversation

@joscollin

@joscollin joscollin commented Oct 29, 2025 •

Copy link
Copy Markdown
Member

Fixes: https://tracker.ceph.com/issues/73648

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@github-actions github-actions Bot added the cephfs Ceph File System label Oct 29, 2025
@joscollin
joscollin marked this pull request as draft October 30, 2025 06:36
@joscollin

Copy link
Copy Markdown
Member Author

Test case in progress

@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch from d4a004f to 1c02d81 Compare October 30, 2025 13:01
@github-actions github-actions Bot added the tests label Oct 30, 2025
@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch 2 times, most recently from 524964d to 3f74eaf Compare October 30, 2025 13:16
@joscollin
joscollin marked this pull request as ready for review October 30, 2025 13:18
@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch 2 times, most recently from 5b42dfc to 81135e2 Compare October 31, 2025 10:31
Comment thread src/tools/cephfs_mirror/FSMirror.cc Resolved
@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch 4 times, most recently from 6e30d04 to 5b2c399 Compare November 4, 2025 08:59
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test windows

@joscollin

Copy link
Copy Markdown
Member Author

@vshankar
How can I create a SERVICE_DAEMON_PEER_INIT_FAILED_KEY peer init failure? And how to recover from it?
I need to write a test case for it.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jan 12, 2026
@joscollin joscollin removed the stale label Jan 21, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

1 similar comment
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch from 5b2c399 to 2821d4a Compare April 21, 2026 10:46
@joscollin

Copy link
Copy Markdown
Member Author

Rebased

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@vshankar

Copy link
Copy Markdown
Contributor

@joscollin please rebase

@joscollin
joscollin force-pushed the wip-B73648-update-recovery branch from 2821d4a to f5a0ea6 Compare May 13, 2026 09:50
@joscollin

Copy link
Copy Markdown
Member Author

@vshankar rebased

@vshankar

Copy link
Copy Markdown
Contributor

This PR has been added to main integration testing by vshankar started 2026-05-26-08:07.

self.config_set('client.mirror', 'cephfs_mirror_distribute_datasync_threads', 'true')
self.disable_mirroring(self.primary_fs_name, self.primary_fs_id)

def test_mirroring_recovery_from_failure_in_service_daemon(self):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joscollin joscollin Jun 4, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been waiting for review since Oct 2025 and many thing have changed in cephfs-mirroring.
So I'm not sure why service status json doesn't show mirroring_failed now and this PR needs a rework. @kotreshhr Have you changed it?

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joscollin PTAL as test failure.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Aug 15, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants