Commit Graph
9 Commits
Author SHA1 Message Date
Chris LuandClaude Opus 5.5 8b9e2b38f2 shell: report a failed tier download source restore
A restore that leaves the source unmounted or frozen was only printed, so the
command still returned success. Join the restore error into the result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:46:32 -08:00
Chris LuandClaude Opus 5.5 2e0ccfbd0f shell: restore the tier download source when its readonly mark fails
VolumeMarkReadonly blocks local writes and deletes before its second master
notification, so a failed notification returns an error with the source
already frozen. Restore it whenever the status was read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:46:00 -08:00
Chris LuandClaude Opus 5.5 fe248c88a2 shell: keep the remote object when a server lists the volume twice
A stale twin on another disk of a replaced server still references the
object but is filtered out with its server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:49:31 -08:00
Chris LuandClaude Opus 5.5 afd115c16a shell: fail tier download when no replica is listed
Also point the final-replica delete error at volume.fix.replication.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:48:34 -08:00
Chris LuandClaude Opus 5.5 e19993cdb3 shell: keep the remote object while replicas are unlisted
Tier download deleted the shared object once the listed replicas were
local, even when the replica placement expected more copies than the
topology listed. Keep it in that case so a rerun can finish later.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:48:22 -08:00
Chris LuandClaude Opus 5.5 7f83227560 shell: block deletes on the tier download copy source
A readonly-can-delete source took deletes after VolumeCopy read its
index, so the replaced replica lost them and served the files again.
Hard-mark the source readonly while replicas are replaced, then restore
the writable mark or reload the persisted state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:47:30 -08:00
Chris LuandClaude Opus 5.5 d9786c240c shell: name the hdd disk type when copying a downloaded volume
VolumeCopy treats an empty disk type as the source's, so an HDD replica
copied from an SSD source was placed on SSD or failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:46:42 -08:00
Chris LuandClaude Opus 5.5 8b021ac0d6 shell: test tier download keeps each replica's disk type
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:12:40 -08:00
Chris LuandClaude Opus 5.5 d31ef837e7 shell: test tier download replicates before deleting the remote object
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:12:10 -08:00