docs(historian): #1111 note client-fabricated Unimplemented exception to PermanentFail
This commit is contained in:
@@ -89,7 +89,7 @@ writers return `PermanentFail` only for failures that prove the EVENT bad (Gatew
|
||||
non-RPC exceptions retry; SQL: recognised data errors) — and BOTH isolate an unrecognised batch failure per event (Gateway
|
||||
`SendEvents` failing `Unknown`/`Internal`/`DataLoss`/unlisted/non-transport ⇒ single sends; only known-outage codes and transport
|
||||
faults retry the batch whole), else one such event at the queue head Acks nothing and stalls the whole queue (#976 review) — don't
|
||||
reintroduce a dead-letter default "to avoid an infinite loop". **Only the node
|
||||
reintroduce a dead-letter default "to avoid an infinite loop". ⚠️ **`Unimplemented` ⇒ PermanentFail / single-send only when the GATEWAY sent it (#1103/#1109):** a client- or proxy-fabricated status (e.g. "Bad gRPC response … 404" surfacing as `Unimplemented`, or any status carrying a transport `DebugException`) is treated as a systemic/transient outage — retry, never dead-letter, and not "the server lacks the RPC" (`IsClientFabricated` in `Driver.Historian.Gateway/GatewayAlarmHistorianWriter.cs`). **Only the node
|
||||
holding the Primary role drains** (a gated node reports `HistorianDrainState.NotPrimary`). The
|
||||
`AlarmHistorian` section carries only the `Enabled` gate + the queue knobs (`DrainIntervalSeconds`,
|
||||
`Capacity`, `DeadLetterRetentionDays`, `BatchSize`, `MaxAttempts`) — the downstream gateway connection
|
||||
|
||||
Reference in New Issue
Block a user