Skip to main content

Module disk_crash

Module disk_crash 

Source
Expand description

Process-local tempfile crash/recovery (E06.6).

Commits identity → effect bytes → durable receipt marker as separate files. A receipt file without complete effect bytes is never a durable receipt. os_process_kill_qualified stays false: this is not an OS kill of CORE-03 WAL. disk_backend_crash_injected stays false: the tempfile adapter is not a disk WAL injector.

Tiny hook: FilePairStore::effect_path lets super::stream page the effect file without loading a second copy of the replica.

Structs§

FilePairStore
Bounded on-disk pairing of identity, effect, and receipt.
RecoveredPair

Enums§

ReceiptClass
Durability class actually achieved on this tempfile adapter.

Constants§

MAX_EFFECT_BYTES
Max effect payload retained on this path. One stream page.

Functions§

disk_backend_crash_injected
Not CORE-03.13 WAL torn-write. Disk durability is not claimed here.
os_process_kill_qualified
OS process-kill / CORE-03 WAL remaining unproven.
tempfile_crash_injected
This tempfile adapter is injected. Not an OS process-kill qualifier.