Patch Changes
-
d945d7e: fix(security): bump
clickhouse-go/v2to v2.51.0 in the migration toolPulls in
github.com/andybalholm/brotliv1.2.7, which fixes GO-2026-6888
(CVE-2026-111497), a denial of service in the brotli decompressor. -
f11b9f5: perf: use 8,192-token text index dictionary blocks on the seeded tables
On ClickHouse 26.6 and later, the collector's schema migration now sets
text_index_dictionary_block_size = 8192(the default is 512) onotel_logs,
otel_tracesandhyperdx_sessions, withALTER TABLE … MODIFY SETTINGafter
the seed. Each part's text index sparse index is 16x smaller. Reading filter
values withmergeTreeTextIndex()loads that index for every part on every
read, and on a 537M-row table 4,096-token blocks already made those reads about
10x cheaper per part, made searches for a rare attribute value 3-7x faster, and
made searches for a common value 10-30% faster.Because it's an
ALTER, existing installs get it too: new parts use 8,192-token
blocks, and existing parts keep theirs until they're merged. A table that
already setstext_index_dictionary_block_sizeis left alone, and operators who
manage these tables themselves can turn the change off with
HYPERDX_OTEL_EXPORTER_SET_TEXT_INDEX_BLOCK_SIZE=false. ClickHouse 26.2–26.5
doesn't have the setting, so those servers keep 512-token blocks.