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
@@ -23,12 +23,12 @@ func (a nativeAccess) Inspect(ctx context.Context, c Config, x Executor) (*Inspe
|
||||
return nil, err
|
||||
}
|
||||
|
||||
sf, si, err := queryEndpoint(ctx, ceph{endpoint: c.Source, exec: x, native: true})
|
||||
sf, si, err := queryEndpoint(ctx, ceph{endpoint: c.Source, exec: x})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
tf, ti, err := queryEndpoint(ctx, ceph{endpoint: c.Target, exec: x, native: true})
|
||||
tf, ti, err := queryEndpoint(ctx, ceph{endpoint: c.Target, exec: x})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -59,7 +59,7 @@ func (a nativeAccess) Inspect(ctx context.Context, c Config, x Executor) (*Inspe
|
||||
}
|
||||
}
|
||||
|
||||
names, err := (ceph{endpoint: c.Source, exec: x, native: true}).names(ctx)
|
||||
names, err := (ceph{endpoint: c.Source, exec: x}).names(ctx)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user