IncompleteHummockVersionDelta

Type Alias IncompleteHummockVersionDelta 

Source
pub type IncompleteHummockVersionDelta = HummockVersionDeltaCommon<SstableIdInVersion>;
Expand description

IncompleteHummockVersionDelta is incomplete because SSTableInfo only has the sst_id set in the following fields:

  • PbGroupDeltas
  • ChangeLogDelta

Aliased Type§

pub struct IncompleteHummockVersionDelta {
    pub id: HummockVersionId,
    pub prev_id: HummockVersionId,
    pub group_deltas: HashMap<u64, GroupDeltasCommon<SstableIdInVersion>>,
    pub(crate) max_committed_epoch: u64,
    pub trivial_move: bool,
    pub new_table_watermarks: HashMap<TypedId<1>, TableWatermarks>,
    pub removed_table_ids: HashSet<TypedId<1>>,
    pub change_log_delta: HashMap<TypedId<1>, ChangeLogDeltaCommon<SstableIdInVersion>>,
    pub state_table_info_delta: HashMap<TypedId<1>, StateTableInfoDelta>,
    pub vector_index_delta: HashMap<TypedId<1>, VectorIndexDelta>,
}

Fields§

§id: HummockVersionId§prev_id: HummockVersionId§group_deltas: HashMap<u64, GroupDeltasCommon<SstableIdInVersion>>§max_committed_epoch: u64
👎Deprecated
§trivial_move: bool§new_table_watermarks: HashMap<TypedId<1>, TableWatermarks>§removed_table_ids: HashSet<TypedId<1>>§change_log_delta: HashMap<TypedId<1>, ChangeLogDeltaCommon<SstableIdInVersion>>§state_table_info_delta: HashMap<TypedId<1>, StateTableInfoDelta>§vector_index_delta: HashMap<TypedId<1>, VectorIndexDelta>

Trait Implementations§

Source§

impl From<(&HummockVersionDeltaCommon<SstableInfo>, &HashSet<TypedId<1>>)> for IncompleteHummockVersionDelta

SStableInfo will be stripped.

Source§

fn from(p: (&HummockVersionDelta, &HashSet<StateTableId>)) -> Self

Converts to this type from the input type.