volume_move: reopen an interrupted move's source only without a target copy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-11-12 17:54:13 -08:00
1 parent 17264160dd
commit 8fe3757fe0
1 file changed
+1 -1
+1 -1
View File
@@ -141,7 +141,7 @@ func (m *Mover) LiveMoveVolume(ctx context.Context, volumeId needle.VolumeId, so
return fmt.Errorf("mark volume %d readonly on %s: %v", volumeId, source, err)
}
if sourceWasWritable {
fmt.Fprintf(opts.Writer, "volume %d on %s stays readonly across restarts until the move ends; if the move is interrupted, volume.mark -node %s -volumeId %d -writable reopens it\n", volumeId, source, source, volumeId)
fmt.Fprintf(opts.Writer, "volume %d on %s stays readonly across restarts until the move ends; if the move is interrupted and %s has no copy of it, volume.mark -node %s -volumeId %d -writable reopens it, otherwise delete one copy before reopening the other\n", volumeId, source, target, source, volumeId)
}
targetHadVolume, targetStateKnown = m.probeVolume(ctx, volumeId, target)