mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-08-14 11:44:32 +03:00
This commit adds a size limit for metric metadata fields. Limit is hard-capped by `56kb` ( max uint16), since historically metric metadata marshalled with those limit at cluster version. And it seems to be a sane limit, it's unlikely that any valid metadata will exceed it. Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/11128