risingwave_hummock_sdk::time_travel

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§

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<TableId, TableWatermarks>,
    pub removed_table_ids: HashSet<TableId>,
    pub change_log_delta: HashMap<TableId, ChangeLogDeltaCommon<SstableIdInVersion>>,
    pub state_table_info_delta: HashMap<TableId, StateTableInfoDelta>,
}

Fields§

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

Trait Implementations§

source§

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

SStableInfo will be stripped.

source§

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

Converts to this type from the input type.