Document every exported type, function and method in the migration, storage and cephfsnative packages and add package comments for migration and the cephmig command, following the commentary rules of Effective Go. Comments on unexported helpers now start with the name they describe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
503 B
Go
10 lines
503 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. Two backends exist: rsync over mounted
|
|
// filesystems and a native libcephfs transport (build tag ceph).
|
|
package migration
|