Skip to content

cephfs_mirror: add --sync-latest-snapshot and --sync_from_snapshot options - #61929

Closed
joscollin wants to merge 3 commits into
ceph:mainfrom
joscollin:wip-F69187-sync-from-snapshot
Closed

joscollin wants to merge 3 commits into
ceph:mainfrom
joscollin:wip-F69187-sync-from-snapshot

Conversation

@joscollin

@joscollin joscollin commented Feb 20, 2025 •

Copy link
Copy Markdown
Member

Fixes: https://tracker.ceph.com/issues/69187
Fixes: https://tracker.ceph.com/issues/69188
Fixes: https://tracker.ceph.com/issues/69966

Introduces --sync-latest-snapshot and --sync_from_snapshot options.

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@joscollin
joscollin requested a review from a team as a code owner February 20, 2025 06:19
@joscollin
joscollin marked this pull request as draft February 20, 2025 06:20
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch from 134497e to f080c98 Compare February 21, 2025 04:58
@joscollin
joscollin marked this pull request as ready for review February 21, 2025 04:59
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch from f080c98 to 1464f88 Compare February 25, 2025 06:29
@joscollin
joscollin requested a review from a team February 25, 2025 06:29
@joscollin
joscollin marked this pull request as draft March 4, 2025 04:22
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch 4 times, most recently from d88e88f to e4816c7 Compare March 5, 2025 10:02
@joscollin joscollin changed the title cephfs_mirror: add sync_from_snapshot option cephfs_mirror: add sync_from_snapshot, --sync-latest-snapshot options Mar 5, 2025
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch 6 times, most recently from f772a6d to cac2b1c Compare March 7, 2025 05:25
@joscollin joscollin changed the title cephfs_mirror: add sync_from_snapshot, --sync-latest-snapshot options cephfs_mirror: add --sync_from_snapshot, --sync-latest-snapshot options Mar 10, 2025
@joscollin

Copy link
Copy Markdown
Member Author

@joscollin
joscollin marked this pull request as ready for review March 10, 2025 07:08
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch from b099303 to e6bdb27 Compare March 3, 2026 00:52
@joscollin

Copy link
Copy Markdown
Member Author

@vshankar

vshankar commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch from e6bdb27 to 4fdc7ff Compare March 3, 2026 09:39
@joscollin

Copy link
Copy Markdown
Member Author

Test passed: https://pulpito.ceph.com/jcollin-2026-03-02_23:59:46-fs:mirror-wip-jcollin-testing-02032006-distro-default-trial/

That's nice but could you explain the bug that was found during fs suite testing.

sync_from_snapshot was assigned "" by mistake, which caused a full sync.

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@vshankar
vshankar requested a review from kotreshhr April 14, 2026 15:36
@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-F69187-sync-from-snapshot branch from 4fdc7ff to f015aaa Compare April 21, 2026 10:18
@joscollin
joscollin force-pushed the wip-F69187-sync-from-snapshot branch from f015aaa to a7cba57 Compare April 21, 2026 10:22
@joscollin

Copy link
Copy Markdown
Member Author

Rebased to resolve conflicts

@vshankar

Copy link
Copy Markdown
Contributor

Removing my testing tag since this is under review by @kotreshhr

@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-F69187-sync-from-snapshot branch from a7cba57 to 60d1e72 Compare May 13, 2026 09:56
@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 12, 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 11, 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.

5 participants