Repository navigation
Stable 26.3: Bump to 26.3.64 - #2872
Conversation
…ling when the rows TTL reads a column no part stores
…2164 Backport ClickHouse#122164 to 26.3: Fix vertical TTL delete merge failing when the rows TTL reads a column no part stores
…B (backport of ClickHouse-internal#1)
… Finish Workflow job
(cherry picked from commit 0ffe6b6)
…ence for a map with a nil or empty key
…ference for a `map` with an unsupported value
…C 2047-decode to CR, LF or NUL
…t on `CREATE TABLE` without column definitions
…oring replacement access entities
…gregateFunction` in `RawBLOB` output
…ns causing exception on INSERT and merge
…ergeTree variants on empty block after insert deduplication
…egardless of the password when the TOTP code is missing
…tween concurrent embedded client sessions
…in the Hive metastore catalog
…ait in replacePartitionFrom to fix race"
…ader/test.py::test_leader_election_after_rolling_membership_change`
…supplied scalar overriding a policy's scalar subquery
…he_bypass` on 26.3 `clickhouse-client --external ... --scalar` came with ClickHouse#110419, which is not in 26.3, so the client ends the external group at `--scalar` and rejects the following `--file=` as an ambiguous option. Keep the policy baseline and the distributed scalar checks. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=127824&sha=5d92a7dcc4a582e404c63969284411152f71d735&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20distributed%20plan%2C%20parallel%2C%201%2F2%29 PR: ClickHouse#127824 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…f `COPY (query) TO STDOUT` in logs
…m filter indexes and track their memory
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…H REPLACE OPTION` skipping the grant option check (cherry picked from commit 5e9f5ef)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…entions-26.3 Remove an unused repository switch from ReleaseBranchCI; trivial, required for a release
…erverResponse`
…1394 Backport ClickHouse#131394 to 26.3: Fix a typo in a comment in `HTTPServerResponse`
… the same `PATH` returning each other's values
…2465 Backport ClickHouse#122465 to 26.3: Fix `ssd_cache` dictionaries with the same `PATH` returning each other's values
…g a column named `mapKeys(m)` for the `Map` index
…0814 Backport ClickHouse#130814 to 26.3: Fix `bloom_filter` index mistaking a column named `mapKeys(m)` for the `Map` index
Release v26.3.64.3-lts Conflicts committed as-is; the next commit resolves them: - cmake/autogenerated_versions.txt (both modified)
Took upstream's patch 64 and githash, and kept Altinity's `.10002.altinitytest` describe/string format.
|
Port-AL: merge conflicts resolved by AI Conflicted files:
Commits:
|
CI triage for
|
| Check | Classification |
|---|---|
Integration amd_binary 1/5 + amd_asan … 7/8: 9× test_database_iceberg |
🔴 From the bump (bad upstream backport) |
Integration amd_binary 4/5 + amd_asan … 5/8: test_database_glue::test_timestamp_types_cache_does_not_keep_metadata |
🔴 From the bump (bad upstream backport) |
Unit tests (asan) + (ubsan): AzureReadBuffer.MissingETagIsAnException aborts |
🔴 From the bump (upstream backport doesn't fit the 26.3 Azure SDK) |
| SQLLogic test: "5 new failures" | 🟡 Resource pressure (server-wide memory limit) |
| Stateless tests (amd_asan, distributed plan, parallel, 4/4) | ⚪ Infra (job died during Run, no report) |
| DCO | ⚪ Expected on bump PRs (upstream commits carry no Altinity sign-off) |
1. test_database_iceberg: 9 failures (deterministic, same 9 on both builds)
The failing tests are test_writes_mutate_update, test_writes_mutate_delete, test_iceberg_file_progress_callback, test_alter_database_settings_{not_supported,rest_auth_header,onelake_persistence,onelake_refresh_token}, test_catalog_listing_error_surfaces_in_system_tables and test_catalog_commit_conflict_reaches_caller_at_once.
Decisive errors:
Cannot find fail point datalake_get_tables_throw. (BAD_ARGUMENTS)
Unknown setting 'onelake_bearer_token': for database engine DataLakeCatalog. (UNKNOWN_SETTING)
Database engine DataLakeCatalog either does not support settings, or does not support altering settings. (NOT_IMPLEMENTED)
Expected `FileProgressCallbackInvocations` > 0 ... got 0 (regression of PR #105413 wiring)
Paths in Iceberg must use a consistent format ... / Schema with id 0 is unknown (mutate tests)
AssertionError: no writer was refused, so nothing about conflict handling was exercised
Cause: commit deb73a9, Backport ClickHouse#119238 to 26.3: Don't use backoffs on concurrent inserts conflicts (upstream ClickHouse#120586), adds +497 lines to tests/integration/test_database_iceberg/test.py. Those lines are exactly these 9 test functions. Most of them test features that exist only on master: the datalake_get_tables_throw failpoint, the OneLake settings, ALTER DATABASE … MODIFY SETTING for DataLakeCatalog and the file-progress callback. None of these are in src/ at the upstream tag either: git grep for datalake_get_tables_throw, onelake_refresh_token and FileProgressCallbackInvocations at the tag finds nothing. The test file at our head is byte-identical to the tag's.
Suggested fix: delete the 8 tests that don't belong to ClickHouse#119238 from tests/integration/test_database_iceberg/test.py. The 9th, test_catalog_commit_conflict_reaches_caller_at_once, is ClickHouse#119238's own test, but it fails too, so it probably also needs master-only code. Drop it or mark it skip on 26.3 unless someone wants to dig further. The C++ part of that backport (src/IO/HTTPCommon.cpp) doesn't need to change.
2. test_database_glue::test_timestamp_types_cache_does_not_keep_metadata (fails on both builds)
SELECT max(_size) FROM s3('http://minio1:9001/warehouse-glue/test_ts_cache_.../metadata/*.metadata.json', ...)
-> DB::NetException: Not found address of host: minio1. (DNS_ERROR) [amd_asan]
-> S3 exception: `NoSuchBucket` ... bucket 'warehouse-glue' [amd_binary]
Cause: the test comes from 562fc02, Backport ClickHouse#127043 to 26.3: Improve glue catalog cache, and was copied from master unchanged. Master's glue tests use minio1:9001; on 26.3 the glue compose has a minio service and the rest of this file uses http://minio:9000/warehouse-glue. The test file matches the upstream tag apart from our altinityinfra/python-bottle image line.
Suggested fix: a one-line test fix at tests/integration/test_database_glue/test.py:638:
- f"SELECT max(_size) FROM s3('http://minio1:9001/warehouse-glue/{test_ref}/metadata/*.metadata.json', "
+ f"SELECT max(_size) FROM s3('http://minio:9000/warehouse-glue/{test_ref}/metadata/*.metadata.json', "3. Unit tests (asan) and (ubsan): AzureReadBuffer.MissingETagIsAnException aborts the binary
[ RUN ] AzureReadBuffer.MissingETagIsAnException
Logical error: 'std::exception. Code: 1001, type: std::out_of_range, e.what() = map::at: key not found
...
4. src/Disks/IO/ReadBufferFromAzureBlobStorage.cpp:289: DB::ReadBufferFromAzureBlobStorage::initialize(unsigned long)
8. src/Disks/tests/gtest_azure_read_buffer_missing_etag.cpp:97: AzureReadBuffer_MissingETagIsAnException_Test::TestBody()
Program terminated with signal SIGABRT
Because of the abort, both jobs then report No test result file [.../gtest.json].
Cause: the test comes from 6956cc3, Backport ClickHouse#127673 to 26.3: Throw an exception instead of aborting when an Azure endpoint omits the ETag header. The test expects a DB::Exception(AZURE_BLOB_STORAGE_ERROR) from ClickHouse's own ETag check. With the Azure SDK pinned on 26.3 (contrib/azure = 0f7a2013; master is on 20f8b46b), BlobClient::Download throws std::out_of_range (map::at) first. That exception falls into the catch (...) at line 289, and getCurrentExceptionMessage treats a bare std::exception as a logical error, which aborts in asan/ubsan builds. My reading is that the SDK's response parser does the at("etag") lookup. The map::at message and the catch path fit that, but I didn't step through the SDK. Altinity's Azure sources and the submodule pointer are identical to the tag, so upstream 26.3 has the same problem.
Suggested fix (pick one):
- In
ReadBufferFromAzureBlobStorage::initializeand the matching path inAzureObjectStorage, catchstd::out_of_rangearoundDownload/GetPropertiesand rethrowException(ErrorCodes::AZURE_BLOB_STORAGE_ERROR, ...). That gives the fix the effect it was meant to have on the older SDK; or - drop or disable
src/Disks/tests/gtest_azure_read_buffer_missing_etag.cppon 26.3 and wait for upstream to sort out its backport.
4. SQLLogic test: "5 new failures" (resource pressure, not logic)
All 5 "new" failures (random/select/slt_good_{36,58,61,81,94}.test) have the same cause:
Code: 241. DB::Exception: (total) memory limit exceeded: would use 1.64 GiB ..., current RSS: 27.50 GiB, maximum: 27.49 GiB
These are server-wide OOM rejections, not wrong results. Overall counts got slightly better: 173,988 failing vs 174,008 known, with 25 fixed. Re-run it. If the server's RSS is near 27.5 GiB again on the rerun, that would be worth a closer look as possible memory growth, but one run doesn't show it.
5. Stateless tests (amd_asan, distributed plan, parallel, 4/4): infra
Praktika reports Job failed to produce Result due to a script error or CI runner issue and uploaded no report. In the GitHub job, every step through Download artifact CH_AMD_ASAN_GH succeeded and the Run step has no conclusion, which means the runner died or was cancelled partway through. There are no test names, so I can't say anything about the tests themselves. Re-run it.
6. DCO
The upstream merge commits in a version bump have no Altinity sign-offs. This failure is expected and isn't a code issue.
Next steps: fixes 1 and 2 are test-only and can go on this branch. For 3, the team has to pick an approach (code fix or drop the test). Then re-run SQLLogic and stateless 4/4. If you want, I can push the iceberg and glue test fixes to bump/stable-26.3/v26.3.64.3-lts; mention me and say which option you want for the Azure gtest.
Evidence: result_pr.json for this SHA, the unit_tests_{asan,ubsan} and sqllogic_test job logs, and git log origin/stable-26.3..PR-head and git diff <tag> PR-head over the affected paths.
|
@blau-ai fix the PR-caused fails directly in this branch |
- gtest_azure_read_buffer_missing_etag: the Azure SDK pinned on 26.3 reads `x-ms-creation-time` and `x-ms-server-encrypted` unconditionally in `BlobClient::Download`, so the fake endpoint must send them; otherwise the SDK throws `std::out_of_range` before the missing `ETag` is ever checked. - test_database_iceberg: drop the master-only tests that the upstream backport of ClickHouse#119238 dragged in; they need features absent from 26.3 (failpoint `datalake_get_tables_throw`, OneLake settings, ALTER DATABASE settings, ...). - test_database_glue: use the 26.3 MinIO endpoint `minio:9000` instead of master's `minio1:9001`.
|
I pushed f6a2ea1 to this branch. It fixes the three failures that the 26.3.64 merge caused. All three are test bugs that came in through upstream backports; none is a server bug. Fixed (caused by this PR)
Validation: I built the unit tests locally (Debug, no sanitizers) and ran Not caused by this PR (left alone)
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: