Files
VictoriaMetrics/lib
Max Kotliar 243037823a app/vmagent: fix rare hash collision in getLabelsHash (#10937)
Add '=' separator between label name and value when computing the hash
to prevent false collisions, like {a="bc"} and {ab="c"} hashing to the
same value.

getLabelsHashForShard is added to avoid sharding disruptions in vmagent
(-remoteWrite.shardByURL=true mode). The function preserves previous
behavior, without '=' between name and value.

PR https://github.com/VictoriaMetrics/VictoriaMetrics/pull/10937
2026-05-12 15:42:55 +03:00
..
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 19:24:27 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 18:17:20 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00
2026-02-18 14:28:31 +01:00