* volume_server.proto: let an EC shard copy name the target disk type
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* volume: an EC shard copy that names a disk type lands only on that medium
With disk_id 0 the copy auto-selects a disk, and the disk that already
holds the volume or its index wins regardless of medium. A move onto an
empty disk of another medium therefore landed beside the existing copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ec: EC shard moves pass the target disk type to the copy
ec.balance and the ec_balance worker plan a move onto disks of one type, but
the copy only named a disk id, and the master reports 0 (auto-select) for a
disk that holds nothing yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: an EC shard copy that names a disk type lands only on that medium
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* volume: an EC blob delete records on every local copy of the volume
A volume mounted on several disks of one server has one runtime per disk,
each with its own deletion set, and a shard read checks the runtime of the
disk holding the shard. The delete stopped at the first runtime, so a read
of a shard on another disk still returned the deleted needle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: an EC blob delete records on every local copy of the volume
Mirrors the Go handler: each disk's runtime of the volume keeps its own
deletion set, so the delete is journaled on every runtime, not the first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* volume: a typed EC shard copy yields to the shard's file on another medium
The mount walks disks in order and loads the first file of the shard it
finds, so a copy placed on the requested medium while another disk still
holds an unmounted file of that shard could leave the old file mounted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: a typed EC shard copy yields to the shard's file on another medium
Mirrors the Go selector.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ec: a typed shard move refused by its pinned disk lets the server pick
Balancers pin the destination disk from the medium its mounted shards
report, which can differ from the disk's own medium after encoding spilled
onto another one. The server refuses such a disk before copying anything,
so the move now retries once with the server picking a disk of the type.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: name the requested disk type in a pinned-disk refusal
Same wording as the Go server, which movers match to retry with a
server-picked disk.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* volume: an EC blob delete records on the first local copy last
A retry on this server resolves the volume through its first copy, so a
delete that fails on another copy left the first one tombstoned and the
retry stopped there. Locate the needle on every copy first, then journal
the others before the first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: an EC blob delete records on the first local copy last
Mirrors the Go handler: a retry on this server resolves the volume
through its first runtime, so that runtime journals after the others and
a failure on any other leaves it live for the retry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* seaweed-volume: a local EC delete records on every local copy
When this server holds the shard, the distributed delete journals locally
instead of calling VolumeEcBlobDelete on itself, and that path journaled
only the first runtime. Record on every runtime, the first last, as the
handler does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>