Skip to main content

Type Alias: TransactionCommitReport

type TransactionCommitReport = object;

Defined in: packages/client/src/core/transaction-engine/index.ts:25

What one commit did, and on what guarantee.

Properties

PropertyTypeDescriptionDefined in
adapterobjectThe storage adapter's honest guarantee for this commit: atomicBatch: true means the batch landed (or failed) as one storage transaction; false means per-document results, mitigated by the rev pre-flight but not eliminated.packages/client/src/core/transaction-engine/index.ts:39
adapter.atomicBatchboolean-packages/client/src/core/transaction-engine/index.ts:39
adapter.namestring-packages/client/src/core/transaction-engine/index.ts:39
durationMsnumber-packages/client/src/core/transaction-engine/index.ts:33
failedobject[]Documents that did not - possible only on adapters where atomicBatch is false.packages/client/src/core/transaction-engine/index.ts:30
stagedCountnumberJournal size at the moment commit ran.packages/client/src/core/transaction-engine/index.ts:32
transactionIdstring-packages/client/src/core/transaction-engine/index.ts:26
writtenobject[]Documents that landed, with their new revisions.packages/client/src/core/transaction-engine/index.ts:28