Skip to main content

Module persistence

Module persistence 

Source
Expand description

Durable publication, journal/layout exclusion and retained local dependencies.

Structs§

BackupLayoutGuard
Exclusive access to an existing resolved backup layout and its dependencies.
CommandLifetimeLock
Exclusive custody for one journal operation’s local command attempt.
CommandQuiescenceGuard
Fresh exclusive local quiescence for retained exact custody evidence.
JournalLock
JournalLock

Enums§

ArtifactCommitOutcome
Result of publishing a temporary artifact or recovering its published tree.
CommandLifetimeLockError
Typed custody admission, dispatch or quiescence failure.
JournalLockError
JournalLockError
PersistenceError
Typed local persistence failure.

Constants§

COMMAND_CUSTODY_DESCRIPTOR_ENV
Child environment variable containing its inherited custody descriptor number.
MAX_RESTORE_REFERENCE_BYTES
Maximum bytes decoded or published for one restore-dependency record.

Functions§

commit_artifact_directory
Durably publish or recover one checksum-verified snapshot directory.
create_json_durable
Publish a new machine record without replacing an existing entry.
read_json
Read one regular no-follow JSON file within an explicit byte limit.
write_json_durable
Durably replace a machine record using a sibling temporary and rename.