influxdata / influxdata/influxdb
Measurement Cardinality < 0
Open
1.x
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Under some circumstances, measurement cardinality (as shown in debug vars) can be less than 0. This does not appear to indicate an underlying issue, rather that of two estimates being used to calculate the number (estimate(measurements) - estimate(tombstones)). If these two measurements are close to each other, you could end up with a negative number. Result should be clamped to avoid wacky answers like negative numbers.
Contributor guide
Assessment
This issue has not been assessed yet.