Skip to main content

Snapshot

Type Alias Snapshot 

Source
type Snapshot = Vec<Arc<Open>>;
Expand description

What one shard has open, newest sequence last.

Two entries and not one because a shard’s block stays readable while its rename is in flight: the sealed block is not on disk yet, and the builder behind it is already taking rows. Answering with either alone would be a row vanishing under a live reader. Empty on an idle shard, one deep on a busy one, two only inside a publish.

Aliased Type§

struct Snapshot { /* private fields */ }