Skip to content

Carry the ClickHouse patches from v2.24.0 onto v2.26.6 - #15

Merged
thevar1able merged 8 commits into
ClickHouse:ClickHouse/v2.26.6from
actueleai:ClickHouse/v2.26.6
Oct 30, 2026
Merged

thevar1able merged 8 commits into
ClickHouse:ClickHouse/v2.26.6from
actueleai:ClickHouse/v2.26.6

Conversation

@actueleai

Copy link
Copy Markdown

Rebases the ClickHouse patches onto upstream v2.26.6, original authors preserved.

  • Carried (8): submodule removal, per-call expansion_search, the 512 MB additive allocator cap, bf16 conversion, 8-byte graph allocator alignment, the external accessor, the graph/vector-count check on legacy load, and start.
  • Dropped as fixed upstream (5): thread-count handling, the sorted_buffer_gt::insert overflow fix and its follow-up, and both ceil2 overflow patches (checked_ceil2/checked_mul supersede them).

rschu1ze and others added 8 commits October 29, 2026 18:02
(cherry picked from commit 173aaa2)
(cherry picked from commit b045926)
(cherry picked from commit a9df250)
(cherry picked from commit 3434577)
The previous patch wrapped the `typed_->size() != matrix_rows` invariant
in `#if 0`, which disabled it for both the new (`exclude_vectors = true`)
and the legacy (`exclude_vectors = false`) load paths. On the legacy
path this check is needed to fail fast on a corrupted/inconsistent
serialized payload.

Condition the check on `!config.exclude_vectors` so the legacy path
keeps its safety invariant while the new `exclude_vectors` path, which
intentionally skips the vector matrix header (so `matrix_rows` stays 0),
is unaffected.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
(cherry picked from commit 13ae946)
(cherry picked from commit ee59900)
@thevar1able
thevar1able merged commit daf8f4f into ClickHouse:ClickHouse/v2.26.6 Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants