-
[OPIK-6888] [BE] feat: UUIDv7 ingestion timestamp validation (#7179)
发布于
2026-06-22 08:36:14 +00:00 -
[OPIK-6888] [BE] feat: UUIDv7 ingestion timestamp validation
-
fix(idgenerator): failing tests addressed
-
refactor(traces): validate update id up-front for span parity
Move validateIdForUpdateAsync to the start of TraceService.update() so
both the existing-row and insert-on-miss branches enforce it, matching
SpanService.update(). Drop the now-redundant call in each insertUpdate().This removes the reliance on an implicit cross-method invariant (no create
path admits a far-future id) and makes update() self-defending. It is a
consistency/defense-in-depth change, not a fix for a reachable bug:
creation already rejects out-of-window ids and an update never moves a
row's ClickHouse partition.下载附件
-