Repository navigation
Allowlist the 05073 fixture's failing TTL merge in the upgrade log scan - #127731
Algunenano merged 3 commits into
Conversation
The upgrade check replays the previous release's suite (v26.10.2.103-stable since 2026-10-24), which now contains 05073_column_ttl_recompute_materialized. Its last table makes a TTL merge fail on purpose (ILLEGAL_DIVISION in intDiv(100, x)). On a stress worker with a shared --database=test_N the table outlives the test, because --fake-drop ignores its DROP, and both the old and the upgraded server retry the TTLDrop merge about twice a second, so the post-upgrade <Error> scan goes red on unrelated PRs. Allow-list the exact fixture error (code, expression, TTL context) in the primary rg list. Failing jobs: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=124910&sha=d342941c4ebbe080835046f198e3508bf53958d1&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29 https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=116083&sha=c0dde7e36639a813a7bee13967d12ccc74b09c75&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29 https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=63383&sha=d6c97d5009b810df21606ec9f88afca124fef2ee&name_0=PR&name_1=Upgrade%20check%20%28amd_release%29 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The leaked merge is retried without end on both the old and the upgraded server because of issue ClickHouse#123953: the recompute of a MATERIALIZED column added by ClickHouse#117815 throws inside every background TTL merge. The entry does not fix that issue and only matches this fixture's string. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings), plus an independent cold review of the same tree (1 finding).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-8:20261024-130700 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20261024-130100 |
|
cc @fm4v, could you review this and add the |
|
Workflow [PR], commit [dbf0afc] Summary: ✅ AI ReviewSummaryAdds an exact-string exclusion for the deliberate TTL merge failure in Final Verdict✅ Approve — the narrowly scoped CI change has sufficient regression evidence. |
CI finish ledger - 9754c72Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
CIDB has no other Session id: cron:our-pr-ci-monitor:20261025-120005 |
|
Fixing #123953 would clear this red too, if the fix lets the TTL merge complete: the scan reads only the upgraded server's log ( Alternatives:
I'd keep 1 for now. To remove the leak at its source, 2 can follow (with a 26.10 backport, after which 1 can be reverted); 3 needs @ alexey-milovidov's agreement. Tell me which you want and I'll send it as a separate PR. |
Algunenano
left a comment
There was a problem hiding this comment.
Since #123953 is already documented, let's allow this error for now and keep this PR
Backport #127731 to 26.10: Allowlist the 05073 fixture's failing TTL merge in the upgrade log scan
…merge in the upgrade log scan (cherry picked from commit 546822f)
Related: #123953
Related: #117815
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Stop the upgrade check from failing on the TTL merge that
05073_column_ttl_recompute_materializedmakes fail on purpose.Description
Upgrade check (amd_release)reds onError message in clickhouse-server.logon unrelated PRs (#124910, #116083, #63383). Every leaked line is this error, logged byMergePlainMergeTreeTaskand again byMergeTreeBackgroundExecutor:The job now replays the
v26.10.2.103-stablesuite, which contains05073_column_ttl_recompute_materialized. Its last table makes a TTL merge fail on purpose: a column TTL resetsxto 0, andm Int32 MATERIALIZED intDiv(100, x)cannot be recomputed from it. On a stress worker with a shared--database=test_Nthe table outlives the test, because--fake-dropignores itsDROP. The leaked lines are the endless retry of that merge reported in #123953, logged the same way by the old and the upgraded server, so they are never a compatibility signal.The new
rg -Faventry pins the error code, the fixture's exact expression and the TTL context, so any other failing TTL merge still reds the job. It does not fix #123953 and stays correct under any fix of it: at worst it becomes dead weight.Validation: the job's scan, replayed over the three runs' real upgrade logs, reproduces each job's
upgrade_error_messages.txtbyte-for-byte on master (176/158/186 lines) and gives 0 lines with the entry. Two other red runs and one green run are unchanged, and 8 one-field variants of the line (another expression, constant, code or context) still surface.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/127731]
Version info
26.11.1.1518-master(included in26.11and later)