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§
- Pending
Entry - A pending journal entry (query + params) to be written.
Enums§
- Journal
Command - 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§
- Journal
Sender - Channel sender for journal commands.