cephfs-mirror: integrate blockdiff with mirror daemon#62250
cephfs-mirror: integrate blockdiff with mirror daemon#62250
Conversation
4a06189 to
565a218
Compare
* refs/pull/62250/head: separate stat add debug cephfs-mirror: integrate blockdiff API for regular file transfers mds: dout snapdiff snapid's before validation check cephfs-mirror: current sync mschanism uses sync mechanism subclass'ing cephfs-mirror: switch to remote dir_root when local prev snapshot is unavailable qa: add test for syncing already existing snapshots cephfs_mirror: avoid latest changes on the source fs to enable mirroring
7eac446 to
8d066af
Compare
|
jenkins test make check |
|
jenkins test make check arm64 |
|
Running one final batch of qa tests -- this mostly looks good. I will squash the commits once done. |
|
@joscollin Test run here: https://pulpito.ceph.com/vshankar-2025-03-26_05:53:19-fs:mirror-wip-vshankar-testing-20250325.045436-debug-testing-default-gibba/ The test failure is due to this change which I added since I was seeing a weird failure with |
If it was this one https://tracker.ceph.com/issues/69232, you need to rebase. I hope it's different one. |
Not really. The test triggers as OSD assert due to ENOSPC. |
joscollin
left a comment
There was a problem hiding this comment.
The mirroring seems working, but this branch shows the below error with all fs snapshot mirror commands. Please check.
2025-03-26T15:05:09.871+0530 7f76df6006c0 -1 asok(0x7f76d8000ba0) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jcollin/workspace/ceph/.worktrees/wip-integrate-blockdiff-with-mirror-daemon/build/asok/client.admin.73732.asok is too long! The maximum length on this system is 107
This is think due to the branch name being too long and the other paths just added to it. |
8d066af to
a381fb3
Compare
|
This PR is under test in https://tracker.ceph.com/issues/70685. |
|
Thanks for the review @joscollin. I will have a look asap. |
|
jenkins retest this please |
|
jenkins retest this please |
@vshankar |
Because it's a racy test IMO. Also, #63131 isn't reviewed yet, so why to include in this test run? |
ok, so sometimes it passes too :) |
|
jenkins test make check arm64 |
|
jenkins test make check |
|
jenkins test make check arm64 |
This avoids considering latest changes from the source filesystem for the mirroring of already existing snapshots. Thus the destination filesystem and snapshots would be created based only on the source snapshots. The destination fs would be a replica of the last snapshot taken. Fixes: https://tracker.ceph.com/issues/68567 Signed-off-by: Jos Collin <jcollin@redhat.com>
Fixes: https://tracker.ceph.com/issues/68567 Signed-off-by: Jos Collin <jcollin@redhat.com>
Fixes: https://tracker.ceph.com/issues/69671 Signed-off-by: Jos Collin <jcollin@redhat.com> Signed-off-by: Venky Shankar <vshankar@redhat.com>
As a debug aid when the snapdiff request is erroring out. Signed-off-by: Venky Shankar <vshankar@redhat.com>
Fixes: http://tracker.ceph.com/issues/70225 Signed-off-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
24adf97 to
ab566d5
Compare
|
jenkins test api |
|
jenkins test windows |
Depends on #61937
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition