Class LilyPadUtils.Snapshot<T extends Comparable<T>>
java.lang.Object
com.linkedin.venice.spark.consistency.LilyPadUtils.Snapshot<T>
- Type Parameters:
T- the position type used inLilyPadUtils.KeyRecord
- Enclosing class:
- LilyPadUtils
The per-key record history plus the final partition high-watermark.
The high-watermark is needed to distinguish genuine MISSING inconsistencies
when scanning live (non-completed) version topics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Map<Long,List<LilyPadUtils.KeyRecord<T>>> Per-key record history for this partition, keyed by 64-bit hash of the raw key bytes.Final running high-watermark at the end of the scan, indexed by region ID. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
keyRecords
Per-key record history for this partition, keyed by 64-bit hash of the raw key bytes. -
partitionHighWatermark
Final running high-watermark at the end of the scan, indexed by region ID.
-
-
Constructor Details
-
Snapshot
-