Skip to main content

Module journal_types

Module journal_types 

Source
Expand description

Minimal journal types shared between graphd-engine and the graphd binary.

The full journal writer/reader lives in the graphd binary. This module provides only the types needed by the engine for mutation detection and optional write-ahead logging.

Structs§

PendingEntry
A pending journal entry (query + params) to be written.

Enums§

JournalCommand
Commands sent to the journal writer thread.

Functions§

is_mutation
Returns true if the query likely contains a mutation keyword. Over-journaling reads is harmless; missing mutations would be catastrophic.

Type Aliases§

JournalSender
Channel sender for journal commands.