Skip to content

Backport #131636 to 26.3: Skip a setting value from the server's Hello that this version rejects instead of failing the connection - #133563

Merged
alexey-milovidov merged 3 commits into
26.3from
backport/26.3/131636
Nov 25, 2026
Merged

alexey-milovidov merged 3 commits into
26.3from
backport/26.3/131636

Conversation

@robot-ch-test-poll2

@robot-ch-test-poll2 robot-ch-test-poll2 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #131636
Cherry-pick pull-request #132959

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.3.72.4

…o that this version rejects instead of failing the connection
@robot-ch-test-poll2 robot-ch-test-poll2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Nov 22, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [d0cd3e2]

Summary: ✅

alexey-milovidov and others added 2 commits November 25, 2026 05:49
…llo`

The test `test_new_client_and_initiator_with_negative_seconds_in_old_server_profile`
failed in the `26.3` branch because the client printed no warning:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=133563&sha=1bbdecdd052ce77fe88935c3d090a4109bb6fb9e&name_0=BackportPR&name_1=Integration%20tests%20%28amd_tsan%2C%202%2F6%29
#133563

In this branch `CLICKHOUSE_CI_MIN_TESTED_VERSION` is `23.3` (it is `25.3` in master), and such a server
does not send its settings in `Hello` (`DBMS_MIN_REVISION_WITH_SERVER_SETTINGS`), so there was nothing
for the client to skip. Run the test against a separate instance of version `25.3`, as in master.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The failure of test_backward_compatibility/test.py::test_new_client_and_initiator_with_negative_seconds_in_old_server_profile was caused by the backported test itself: in 26.3 the old server of that test is 23.3 (CLICKHOUSE_CI_MIN_TESTED_VERSION; it is 25.3 in master), and such a server does not send its settings in Hello, so the client had nothing to skip and printed no warning. The test now uses a separate 25.3 instance. Checked locally with the binary built by CI for this PR: the client prints the warning and the test passes. Also merged the latest 26.3.

@alexey-milovidov
alexey-milovidov merged commit 9a0f5fd into 26.3 Nov 25, 2026
38 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.3/131636 branch November 25, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants