SessionEventLogDegradedParams
Experimental
session/eventLogDegraded params (ADR 72648 D1, D2, experimental): a
loaded session’s durable event log took a degraded write, so a record may
be missing from it. Outside the view stream, like
session/viewHealthChanged: no viewCursor and no sourceRange, so it
never takes a view position. Pushed to the session’s live connections when
the degraded record commits, and restated to a client whose
session/resume serves item history.
Fields and variants
Section titled “Fields and variants”code— Experimentalsequence— ExperimentalsessionId— Experimental
Source
schema/msp/experimental/msp.schema.json#/types/SessionEventLogDegradedParams
{ "description": "`session/eventLogDegraded` params (ADR 72648 D1, D2, experimental): a\nloaded session's durable event log took a degraded write, so a record may\nbe missing from it. Outside the view stream, like\n`session/viewHealthChanged`: no `viewCursor` and no `sourceRange`, so it\nnever takes a view position. Pushed to the session's live connections when\nthe degraded record commits, and restated to a client whose\n`session/resume` serves item history.", "properties": { "code": { "$ref": "#/$defs/EventLogDegradedCode", "description": "Why the log degraded." }, "sequence": { "description": "The degraded record's log sequence (ADR 72648 D2): the live push and a\nresume's restatement of one record carry the same value, the key a\nclient draws each record once by. Absent from a host that predates D2;\na client then draws every frame.", "type": "integer" }, "sessionId": { "description": "The owning session.", "type": "string" } }, "required": [ "code", "sessionId" ], "type": "object", "x-msp-descriptor": "session/eventLogDegraded", "x-msp-stability": "experimental"}