Expand description
Shared SQLite execution types for local and remote depot client backends.
Structs§
Enums§
Constants§
- COMMIT_
SEGMENT_ MAX_ SHARDS - Shards one staged commit segment may span.
- HEAD_
FENCE_ MISMATCH_ CODE - HEAD_
FENCE_ MISMATCH_ GROUP - MAX_
COMMIT_ DIRTY_ PAGES - Dirty pages one commit may carry, staged or not.
- SHARD_
SIZE - Pages per storage shard. Shared rather than each side keeping its own copy: the client cuts staged commit segments on these boundaries and the engine rejects segments that are not cut on them, so two definitions could disagree and make every large commit fail.
Functions§
- cut_
page_ segments - Cuts pages into shard-aligned segments, each spanning at most
COMMIT_SEGMENT_MAX_SHARDS. - is_
head_ fence_ mismatch - segment_
start_ for_ page - Where a staged commit segment carrying
pgnomust start.