@@ -158,31 +158,26 @@ execution to map series IDs back to their label sets when needed.
158158- ` time_bucket ` (u32): The number of minutes since the UNIX epoch
159159- ` series_fingerprint ` (u128): The fingerprint of the label set, computed as a hash of the labels
160160
161- The series fingerprint is computed using the labels of the series, which means
162- there is a small chance that two series with different labels will have the same
163- fingerprint. Prometheus makes the same trade-off and accepts the risk of
164- collisions. The value contains the series ID(s) that correspond to this
165- fingerprint, typically a single series ID. Note that these IDs are scoped to a
166- single time bucket so the cardinality is measured in the number of series in the
167- bucket, not globally.
161+ The series fingerprint is computed using the labels of the series. The value
162+ contains the series ID that corresponds to this fingerprint. Note that these IDs
163+ are scoped to a single time bucket so the cardinality is measured in the number
164+ of series in the bucket, not globally.
168165
169166** Value Schema:**
170167
171168```
172169┌──────────────────────────────────────────────────────────┐
173170│ SeriesDictionaryValue │
174171├──────────────────────────────────────────────────────────┤
175- │ FixedElementArray< series_id: u32> │
172+ │ series_id: u32 │
176173└──────────────────────────────────────────────────────────┘
177174```
178175
179176** Structure:**
180177
181- - The value is a ` FixedElementArray<u32> ` encoding the list of ` series_id ` values that
182- have the specified fingerprint. In the common case of no collisions, this array
183- contains a single ` series_id ` . When collisions occur, multiple series IDs are
184- stored, and the forward index must be consulted to disambiguate by comparing
185- the actual label sets.
178+ - The value is a single ` series_id ` (u32) that has the specified fingerprint.
179+ Hash collisions are assumed not to occur (we should consider changing this
180+ to a FixedElementArray<SeriesId > to allow for hash collisions).
186181
187182### ` ForwardIndex ` (` RecordType::ForwardIndex ` = ` 0x03 ` )
188183
0 commit comments