Files
CephfsMig/internal/migration/doc.go
T
Sebastian UnterschützandClaude Opus 5.5 330a3ec12c 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>
2026-12-03 22:03:22 +01:00

10 lines
482 B
Go

// Package migration implements the snapshot-based migration of a CephFS
// subvolume between two clusters.
//
// A migration is a sequence of rounds. Each round creates or picks a source
// snapshot, copies it with a Transport, verifies the target and publishes a
// target snapshot of the same name. Progress is recorded in a State journal so
// that every step can be resumed. Data moves through libcephfs (build tag
// ceph); no mount and no rsync are needed.
package migration