mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-13 15:29:12 +01:00
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:
1 parent
17264160dd
commit
8fe3757fe0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user