Skip to content

journal/commitBatch

Experimental

Atomically commits one frozen batch to the client store, idempotent by source plus meaning.

Type: JournalCommitBatchParams

journal/commitBatch params (host -> client).

Field Type Stability Presence Description
conditions JournalCommitConditions Experimental required
meaning string Experimental required The batch’s meaning (owner D170, ADR 61595 D3.4): v1-<sequence>-<event_id> of its own last record, each part of a split transaction by its own last record. The store keeps no meaning index: it finds the record at that sequence and compares a resend record by record. sha256-v1:<hex> is deprecated but still accepted.
records JournalRecord[] Experimental required
sessionId string Experimental required
source string Experimental required
Source

schema/msp/experimental/msp.schema.json#/methods/journal~2FcommitBatch

{
"description": "Atomically commits one frozen batch to the client store, idempotent by source plus meaning.",
"params": {
"$ref": "#/$defs/JournalCommitBatchParams"
},
"result": {
"$ref": "#/$defs/JournalCommitBatchResult"
},
"x-msp-descriptor": "journal/commitBatch",
"x-msp-stability": "experimental"
}