Skip to main content

Module save

Module save 

Source
Expand description

Save — persist current state without creating a commit (crash recovery).

Distinct from Commit: Save is mechanical (for crash recovery), Commit is semantic (for versioning). Save uses atomic file replacement to prevent corruption from partial writes.

Structs§

SaveMetrics
Metrics collected during a save operation.
SaveOptions
Options for customizing save behavior.

Enums§

SaveError
Errors from save/restore operations.

Functions§

persist_commits
Persist a CommitsTable as JSON to a directory.
restore
Restore store state from a save point (graph data only).
restore_commits
Restore a CommitsTable from JSON in a directory.
restore_full
Restore store state including commit history and refs.
restore_named_batches
Restore named RecordBatch collections from a save directory.
save
Save current store state to a directory using atomic file replacement.
save_full
Save with commit history and refs.
save_named_batches
Save arbitrary named RecordBatch collections with WAL + atomic write.
save_with_options
Save with options, returning metrics about the operation.

Type Aliases§

Result