Module version

Source
Expand description

Version control of mito engine.

Version is an immutable snapshot of region’s metadata.

To read latest data from VersionControl, we should

  1. Acquire Version from VersionControl.
  2. Then acquire last sequence.

Reason: data may be flushed/compacted and some data with old sequence may be removed and became invisible between step 1 and 2, so need to acquire version at first.

StructsΒ§

Version πŸ”’
Static metadata of a region.
VersionBuilder πŸ”’
Version builder.
VersionControl πŸ”’
Controls metadata and sequence numbers for a region.
VersionControlData πŸ”’
Data of VersionControl.

Type AliasesΒ§

VersionControlRef πŸ”’
VersionRef πŸ”’