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
@@ -117,13 +117,6 @@ the source snapshot after explicit confirmation; that is out of scope here.
|
||||
- **Source:** the source cluster and its final snapshot must stay available
|
||||
until `verify` is done.
|
||||
|
||||
## rsync backend
|
||||
|
||||
The same command can run with the rsync backend through the mounts, for
|
||||
example `rsync -a --checksum --dry-run --itemize-changes` between the two
|
||||
snapshot directories plus the existing quota and hardlink checks. Times other
|
||||
than mtime are not compared there, because rsync does not preserve them.
|
||||
|
||||
## Tests
|
||||
|
||||
- Unit tests with fake file systems: every kind of difference is reported,
|
||||
|
||||
Reference in new issue
Block a user