feat!: remove the rsync backend
The native libcephfs backend is the only transfer path. The rsync transport, the mounted-filesystem access and its helpers (mount check, path resolution below a mount, mount claim, quota and hardlink repair through the mount) are removed, together with the rsync lab test and the client image that only added rsync. The claim and release tests now exercise the native claim through a local test file system with real flock locks. BREAKING CHANGE: "backend": "rsync" and the endpoint field "mount" are rejected. "backend" is optional and only accepts "native"; jobs created with "native" resume without it. Journals of rsync jobs cannot be resumed. Builds without the build tag ceph only support doctor and status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f0ea1fd7cd
commit
330a3ec12c
31 files changed
+263
-1522
No files matched your search
@@ -36,8 +36,8 @@ target.
|
||||
|
||||
## Verified native alternative
|
||||
|
||||
The Go transport `backend: native` uses libcephfs without rsync and without a
|
||||
kernel or FUSE mount. Metadata operations go through the target MDS; data
|
||||
The Go transport uses libcephfs without rsync and without a kernel or FUSE
|
||||
mount. Metadata operations go through the target MDS; data
|
||||
I/O is handled by the native Ceph client directly against RADOS. A raw import
|
||||
of the shared MDS metadata pool remains outside the migration.
|
||||
|
||||
@@ -124,7 +124,8 @@ Snapdiff marks changed inodes; in addition, comparing the Ceph inode version
|
||||
ensures that data changes with the same size and mtime are not missed.
|
||||
Blockdiff is used from 16 MiB on, provided a confirmed base with matching
|
||||
source and target inodes exists. If the diff interfaces are unavailable, the
|
||||
state is reconstructed fully and natively. There is no silent rsync fallback.
|
||||
state is reconstructed fully and natively. There is no fallback to another
|
||||
transfer method.
|
||||
|
||||
Snapdiff cannot replace the metadata scan (see
|
||||
[skipping unchanged subtrees](migration.md#skipping-unchanged-subtrees)).
|
||||
|
||||
Reference in new issue
Block a user