Skip to content
Developer Preview

JournalCheckpointMarker

Experimental

Owner D217: {id, start} on the first record of a checkpoint transaction, {id, end} on its last, both flags on a one-record transaction. id is the checkpoint record’s id. A store that keeps a checkpoint pointer remembers (id, position) at start and moves its pointer forward to that position once it durably holds the matching end; it ignores an end whose id it never saw start.

  • end — Experimental
  • id — Experimental
  • start — Experimental
Source

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

{
"description": "Owner D217: `{id, start}` on the first record of a checkpoint transaction,\n`{id, end}` on its last, both flags on a one-record transaction. `id` is\nthe checkpoint record's id. A store that keeps a checkpoint pointer\nremembers `(id, position)` at `start` and moves its pointer forward to that\nposition once it durably holds the matching `end`; it ignores an `end`\nwhose id it never saw start.",
"properties": {
"end": {
"description": "This record closes the transaction that completes the checkpoint.",
"type": "boolean"
},
"id": {
"type": "string"
},
"start": {
"description": "This record is the first a resume from the checkpoint reads.",
"type": "boolean"
}
},
"required": [
"id"
],
"type": "object",
"x-msp-descriptor": "journal/commitBatch",
"x-msp-stability": "experimental"
}