mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-21 22:51:01 +02:00
Sadly, we have a number of places where we use varint encoding for numbers that cannot be negative. We could have saved a bit by using uvarint encoding. On the bright side, we now have a 50% chance to detect data corruption. :-/ Fixes #1800 and #2492.