seaweed-block: document the failover caller-deadline exit

The failover help, the v1.1.x legacy table and the classification design
note name the caller deadline before send next to the unsent remote
failure as the two failover cases that keep exit 3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chris LuandClaude Opus 5.5 committed 2026-12-05 13:44:33 -08:00
1 parent 20e7f5fa9a
commit dd198e27c3
3 files changed
+6 -4

No files matched your search

+4 -3
View File
@@ -51,9 +51,10 @@ SW_BLOCK_TLS_CA, all three; without them the command refuses before dialing.
Exit: 0 moved; 1 definite precondition refusal, caller cancellation before
sending, or the line did not move; 2 bad arguments or a server argument
refusal; 3 outcome unknown (or an unsent connection failure): read the current
line with sw-block ops volumes before another move; 4 unproven integrity
readout; 5 authentication rejection; 78 local credential/configuration error.
refusal; 3 outcome unknown (or an unsent connection failure or caller
deadline): read the current line with sw-block ops volumes before another
move; 4 unproven integrity readout; 5 authentication rejection; 78 local
credential/configuration error.
`
func runOpsFailover(args []string, stdout, stderr io.Writer) int {
@@ -124,7 +124,7 @@ server argument refusals remain distinct from credential validation.
`LegacyExits()` is the complete exception inventory. The documented
`ops volume create` and read-only `ops volume resolve` exceptions retain
75 for UNKNOWN and 78 for definite refusal. Cluster finalize/retire typed
precondition refusal retains 2. Incomplete verify UNKNOWN retains 1 (3 means completed findings); failover unsent remote failure retains 3 with read-before-another-move recovery. Every exception is removed in v1.2. Typed non-retryable remote-unavailable answers are definite refusals, never exit 75.
precondition refusal retains 2. Incomplete verify UNKNOWN retains 1 (3 means completed findings); failover unsent remote failure and caller deadline before send retain 3 with read-before-another-move recovery. Every exception is removed in v1.2. Typed non-retryable remote-unavailable answers are definite refusals, never exit 75.
The create exception is safe only for identical name, geometry and placement:
`FileStore.CreateVolume` returns the existing compatible record and layout
+1
View File
@@ -92,6 +92,7 @@ independent test row per entry. These exceptions are removed in v1.2:
| Command | Class | Legacy exit | Documented reason |
| --- | --- | --- | --- |
| `ops failover` | Proven unsent remote failure | 3 | Read the current authority line before another move; Recover, not blind resend. |
| `ops failover` | Caller deadline before send | 3 | Same read-before-another-move recovery as an unsent remote failure. |
| `ops chunk verify` incomplete answer | UNKNOWN | 1 | Exit 3 means a completed scan with findings; JSON keeps the failure class. |
| `ops volume create` | UNKNOWN | 75 | Identical name, geometry and placement reuse the compatible recorded identity or refuse a conflict; never change inputs during recovery. |
| `ops volume create` | Server argument refusal | 78 | The standalone create contract documents definite refusal as 78; local syntax remains 2. |