mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
* fix(servers): reject repeated and reserved label names in remote write v1 Remote write v1 wrote a label named greptime_value or greptime_timestamp into the value or timestamp slot, where the sample then overwrote it, and a repeated label name (including __name__ and the database and physical table labels) kept the last value. Both now fail the request, as v2 already does. Also share the PromCtx to ContextOpt conversion between v1 and v2, reuse TableData::into_rows for v2 row padding, and remove two uncalled label helpers from prom_store. Signed-off-by: Dennis Zhuang <killme2008@gmail.com> * fix(servers): reject reserved label names before the pipeline branch Signed-off-by: Dennis Zhuang <killme2008@gmail.com> --------- Signed-off-by: Dennis Zhuang <killme2008@gmail.com>