Skip to content
Developer Preview

SessionEventLogDegradedParams

Experimental

session/eventLogDegraded params (ADR 72648 D1, 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.

  • code — Experimental
  • sessionId — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SessionEventLogDegradedParams

{
"description": "`session/eventLogDegraded` params (ADR 72648 D1, experimental): a loaded\nsession's durable event log took a degraded write, so a record may be\nmissing from it. Outside the view stream, like `session/viewHealthChanged`:\nno `viewCursor` and no `sourceRange`, so it never takes a view position.\nPushed to the session's live connections when the degraded record commits,\nand restated to a client whose `session/resume` serves item history.",
"properties": {
"code": {
"$ref": "#/$defs/EventLogDegradedCode",
"description": "Why the log degraded."
},
"sessionId": {
"description": "The owning session.",
"type": "string"
}
},
"required": [
"code",
"sessionId"
],
"type": "object",
"x-msp-descriptor": "session/eventLogDegraded",
"x-msp-stability": "experimental"
}