filodb / FiloDB

Distributed Prometheus time series database
Apache License 2.0
1.43k stars 225 forks source link

fix(cardinality): converting cardinality storage and query types from int to long to avoid integer overflow #1764

Closed sandeep6189 closed 5 months ago

sandeep6189 commented 5 months ago

Pull Request checklist

Current behavior : CardinalityValue and CardinalityRowReader store and retrieve the cardinality data using Int type. This is causing overflow issues for various _ns_ and _ws_ cardinality queries.

New behavior : Changing the above types from Int to Long

BREAKING CHANGES

Breaking changes may include: