Repository navigation
Backport #107693 to 25.8: Length-encode the info field of the MySQL OK packet - #107889
Conversation
… `OK` packet
|
Workflow [BackportPR], commit [074bd32] |
|
Refreshed this backport: merged the current The previous red checks This is a transient |
…eclipse-temurin:21-jdk-alpine`
The `Dockers Build (amd)`/`Dockers Build (arm)` jobs failed because the
`clickhouse/mysql-java-client` image (rebuilt here due to the `Connector/J`
bump) still used the deprecated `openjdk:8-jdk-alpine` base, which the CI
`dockerhub-proxy` can no longer serve:
failed to resolve source metadata for docker.io/library/openjdk:8-jdk-alpine:
unexpected status from HEAD request to .../openjdk/manifests/8-jdk-alpine: 500 Internal Server Error
The failure is deterministic (it reproduced identically on a re-run ~2.5h
later), not a transient flake.
On `master` the base image had already been migrated to
`eclipse-temurin:21-jdk-alpine` (and `CLASSPATH` set to `.:`) in an earlier
commit that was never backported to `25.8`; #107693 was developed and verified
on top of that. The cherry-pick brought only the `Connector/J` 9.7.0 bump,
leaving `25.8` on the broken base image, so its image could not be rebuilt.
Align the `25.8` Dockerfile with the verified `master` configuration. Verified
locally: the image builds, the `Connector/J` 9.7.0 jar downloads, and
`MySQLJavaClientTest.java` (identical to `master`) compiles under JDK 21.
CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=107889&sha=29e01838604f8a31671c7090e7ebcfa725b2a192&name_0=BackportPR&name_1=Dockers%20Build%20%28amd%29
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Pushed a fix for the Correction to my earlier comment: the failure is not a transient Root cause: on Fix: align the Verified locally: the image builds, the |
|
Backport status — ready; both red checks are pre-existing flakes unrelated to this change The net diff versus Both failing checks on commit
@groeneai, the Recommend re-running the two failed jobs once the |
|
Thanks @alexey-milovidov. Investigated: these two are not a master flake, they are a missing 25.8 backport. I fixed this family on master in #107119 (merged 2026-06-18, commit 6166517). Splitting the CIDB
All 7 "master" failures in the 21d window are actually Root cause (fixed by #107119, test-only): Recommendation: backport #107119 to 25.8 (it carries no backport label today). I cannot create release-branch backports myself, so this needs the Opened a tracking issue with the full CIDB breakdown: #108914. This does not block #107889: the OK-packet change only touches the MySQL wire protocol (port 9004), unrelated to these integration tests. A rerun should make it green. |
|
Thanks @groeneai — confirmed. I created the missing backport: #108917 cherry-picks #107119 ( For #107889 itself nothing further is needed: the net diff versus
|
|
Merged the current The only failing job that was specific to The other red job, The net diff is unchanged (only |
…es::test_materialized_views_replicated Cherry-pick of the test-only fix merged to `master` in ClickHouse#107119 (commit `6166517952c1`, change `e5479ff4869`). The fix is absent on `25.8`, where `test_materialized_views_replicated` still uses `disconnect_event.wait(90)` and un-timed INSERTs. Under sanitizers the server stop+start budget alone is ~120s, so a restart slower than the ignored 90s wait let the main thread race ahead, and an INSERT to a half-restarted server could block up to 600s and exhaust the 900s pytest session timeout. The fix waits 180s and asserts it, bounds each INSERT with `timeout=60`, catches `QueryTimeoutExceedException`, and stops the warm-up INSERT loop once the restart finishes or its budget elapses. This clears the `test_async_load_databases` failures observed on the `25.8` base and on `backport/25.8/*` PRs (e.g. ClickHouse#107889). True `master` has been clean since ClickHouse#107119 merged (2026-06-18). Closes: ClickHouse#108914 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Original pull-request #107693
Cherry-pick pull-request #107819
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
25.8.26.10