Skip to content

Stable 26.8 - Bump to v26.8.39 - #2874

Merged
mkmkme merged 257 commits into
stable-26.8from
bump/stable-26.8/26.8.37
Nov 20, 2026
Merged

mkmkme merged 257 commits into
stable-26.8from
bump/stable-26.8/26.8.37

Conversation

@mkmkme

@mkmkme mkmkme commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

clickhouse-gh Bot and others added 30 commits October 23, 2026 02:11
…2164

Backport ClickHouse#122164 to 26.8: Fix vertical TTL delete merge failing when the rows TTL reads a column no part stores
…6906

Backport ClickHouse#126906 to 26.8: Fix abort in `Protobuf` schema inference for a `map` with an unsupported value
…7281

Backport ClickHouse#127281 to 26.8: Fix crash in MsgPack schema inference for a map with a nil or empty key
…7136

Backport ClickHouse#127136 to 26.8: Require drop privileges when restoring replacement access entities
…B (backport of ClickHouse-internal#1)

The YAML is regenerated with GITHUB_REPOSITORY=ClickHouse/ClickHouse-internal, which drops the Finish Workflow job.
…t on `CREATE TABLE` without column definitions
…nly storage that provides their data (`backup_metadata_only`)
On `master` `StorageTimeSeries::getTargetKinds` is a `static constexpr` returning every possible target kind,
so the backported code called it on the class. On 26.8 it is a non-static const member returning the kinds
this table actually has, which does not compile as a qualified call:

    error: call to non-static member function without an object argument

The loop already holds `time_series` and filters every kind through `isInnerTable`, so calling the member on
that table keeps the behavior: it iterates this table's own kinds instead of all of them, and the filter makes
the two sets agree.

Co-Authored-By: Claude Opus 5 <[email protected]>
The branch decides `should_backup_data` and leaves the loop at once when it is false, while on master the
partition checks run first, so that naming a partition of a table that cannot back one up is still refused
however the data came to be left out. The cherry-pick put the new `backup_metadata_only` check after that early
exit, where it cannot be reached: leaving the data out is exactly what the flag does, so
`BACKUP ... PARTITIONS` of such a table was accepted and restored as the whole table.

The two checks move above the exit, as on master. `test_backup_restore_s3_plain_backup_metadata_only` and
`test_partitions_of_table_not_created_on_replica` assert the refusal; the first of them also left its table
behind when it failed there, which is what then made `test_backup_restore_with_s3_throttle` restore that table
into a UUID that was still taken.

Co-Authored-By: Claude Opus 5 <[email protected]>
…` on the table

`StorageTimeSeries::getTargetKinds` is a `static constexpr` on master and a non-static const member on this
branch, so the cherry-pick did not compile. Calling it on the table would work, but it is the only thing the
branch needs it for, and it only produces a warning: `isDataOnBackupMetadataOnlyStoragePolicy` answers `false`
for a `TimeSeries` table either way, as the table keeps no data of its own. So the lookup of its inner tables is
left out, with the assertion of that warning dropped from the test, and `context` becomes unused here.

Co-Authored-By: Claude Opus 5 <[email protected]>
…helpers for

Trimmed to what the original change is about - a table on a `backup_metadata_only` storage policy has its data
left out of a backup and a restore - with everything the branch cannot express removed:

- `castStorage`, `DeferredTable` and `resolveStorageProxyLoading` come from ClickHouse#121332, which is not on this branch,
  so the casts are plain `std::dynamic_pointer_cast`. A table behind a `StorageProxy` is no longer resolved, so
  its data is backed up as usual rather than left out.
- `warnBackupMetadataOnlyIgnored` and the lookups of the inner tables of a materialized view and a `TimeSeries`
  table are gone. They only logged, and the answer does not depend on them: the flag is ignored for both kinds
  either way. The test asserts the backups still succeed instead of asserting the warnings.

`context` is unused in the overload that is left, and the includes the removed code needed are dropped.

Co-Authored-By: Claude Opus 5 <[email protected]>
`test_replicated_merge_tree_ignores_the_flag` asserted the line `warnBackupMetadataOnlyIgnored` writes for an
engine of the `MergeTree` family that is not the plain one. That warning was left out of this branch along with
the rest of the diagnostics, so the assertion fails while the behavior it guards - the flag ignored, the data
backed up as usual, a new UUID after a `structure_only` restore - is unchanged and still asserted.

Co-Authored-By: Claude Opus 5 <[email protected]>
…ergeTree variants on empty block after insert deduplication
…backport to 26.8

The 26.8 branch has neither `REFRESH ... APPEND INCREMENTAL` nor the refresh cursor
stored in Iceberg metadata, so this part of the test failed with a syntax error.
Keep only the `STREAM CURSOR` check, which exists on 26.8.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=127635&sha=ff0689119079ed0e62d07208fc18361a84423a02&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%29
ClickHouse#127635

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ult for nulls in non-nullable Arrow fields
…T FROM` cluster functions ignoring column `DEFAULT` expressions
…t_log.level into account when updating logger levels
Algunenano and others added 25 commits November 16, 2026 23:25
…1029

Backport ClickHouse#131029 to 26.8: Fix use-after-free on renaming Delta Lake columns to their physical names
…1688

Backport ClickHouse#131688 to 26.8: Fix `DROP WORKLOAD` and `DROP RESOURCE` removing an entity of the other kind with Keeper workload storage
…0670

Backport ClickHouse#130670 to 26.8: Keep the stress AST fuzzer and ignored DROPs out of 05496_dynamic_disk_wrapper_of_server_credentials_disk
…es when the merge of GROUP BY tables throws
…red values in the Parquet `PLAIN` string decoder
…1734

Backport ClickHouse#131734 to 26.8: Limit the number of array dimensions reported by PostgreSQL
…1733

Backport ClickHouse#131733 to 26.8: Make `ColumnAggregateFunction::expand` exception-safe
…1595

Backport ClickHouse#131595 to 26.8: Destroy the queued aggregate states when the merge of GROUP BY tables throws
…1787

Backport ClickHouse#131787 to 26.8: Check that DWARF attributes do not go past the end of the unit
…1792

Backport ClickHouse#131792 to 26.8: Reject repeated paths in serialized states of `mergedJSONPatch`
…1797

Backport ClickHouse#131797 to 26.8: Bounds-check skipping fully filtered values in the Parquet `PLAIN` string decoder
…w for a key column fixed by `WHERE` and listed in `ORDER BY`
…1736

Backport ClickHouse#131736 to 26.8: Reject serialized query plan steps without their inputs
…0893

Backport ClickHouse#130893 to 26.8: Keep the read-in-order virtual row for a key column fixed by `WHERE` and listed in `ORDER BY`
…9818

Backport ClickHouse#129818 to 26.8: Merge tables report rows and sizes only of the tables the user can see
With `query_plan_merge_filters = 0`, the 26.8 reader can evaluate a
throwing condition before applying its guard's filter. Keep this
ordering test on the default until the reader-safety fix and its
performance follow-up are ported and verified in this branch.

#2870 (comment)
@mkmkme mkmkme changed the title Stable 26.8 - Bump to v26.8.37 Stable 26.8 - Bump to v26.8.39 Nov 18, 2026
@mkmkme mkmkme added the verified Approved for release label Nov 20, 2026
@mkmkme
mkmkme merged commit 43cc3e2 into stable-26.8 Nov 20, 2026
270 of 273 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.