Repository navigation
Stable 24.8 Backport of #89127 - Fix TTL merge bug - #2883
Conversation
Fix TTL merge bug Conflicts committed as-is; the next commit resolves them: - src/Storages/StorageMergeTree.cpp (both modified)
Wrapped the tagger creation in try/catch that calls cancelMergeWithTTL, adapted to the 24.8 code shape.
|
Port-AL: cherry-pick conflicts resolved by AI Conflicted files:
Commits:
|
|
This is an automated comment for commit 7b999a6 with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
CI triage for #2883 (head
|
| Check | Classification | Next step |
|---|---|---|
| BuilderDebAarch64 / Build-package_aarch64 | Infra: runner lost | Re-run failed jobs |
| Builds_Report | Follows from the aarch64 build | Clears after the re-run |
| ASTFuzzerUBsan / AST fuzzer (ubsan) | Infra: GitHub API rate limit in post-run | Re-run; fuzzer result is OK |
| RegressionTestsRelease / Common (swarms) | Infra: docker-compose download returned HTML | Re-run |
| RegressionTestsRelease / LDAP (authentication) | Infra: same docker-compose problem | Re-run |
| DCO | No Signed-off-by lines |
See below. Not a code problem |
1. Build-package_aarch64: infra
The job never got past "Set up job". Every later step has no conclusion, and the check-run annotation says:
The self-hosted runner lost communication with the server. Verify the machine is running and has a healthy network connection…
The compiler never ran, so this says nothing about the code.
2. Builds_Report: follows from #1
Builds … 1 of 7 builds are missing. 15/16 artifact groups are OK. The missing build is the aarch64 package. The aarch64 test jobs show as skipping because the PR body excludes aarch64 tests.
3. AST fuzzer (ubsan): infra in the CI harness
The fuzzer ran its full hour and ended normally. fatal.log is empty, the server stopped cleanly, and the uploaded report shows OK. The "Run" step succeeded with JOB_EXIT_CODE: 0. The failure is in the Post run step, where ci.py tried to set the commit status:
File ".../tests/ci/commit_status_helper.py", line 410, in get_repo
github.GithubException.RateLimitExceededException: 403 {"message": "API rate limit exceeded for user ID 74678562. ...
##[error]Process completed with exit code 1.
No CommitStatusData for [AST fuzzer (ubsan)], push dummy failure to ci_cache
The GitHub token's API quota ran out. This is not a ubsan finding.
4 and 5. Regression swarms and ldap_authentication: infra
Both jobs failed at the same moment (14:57), in about 50 ms, before any test ran. The docker-compose binary they downloaded turned out to be an HTML page:
/usr/local/bin/docker-compose: line 1: syntax error near unexpected token `newline'
/usr/local/bin/docker-compose: line 1: `<!DOCTYPE html>'
RuntimeError: could not read a version from `docker-compose --log-level ERROR version --short`
1 module (1 errored)
Most likely the docker-compose v2.23.1 release download from GitHub failed for a moment. All the other regression suites in the same run passed, including ldap_external_user_directory, ldap_role_mapping, parquet, rbac and s3.
6. DCO: missing sign-offs, not a code problem
Neither commit has a Signed-off-by line:
0b8dcdb: the upstream merge commit (Merge pull request #89127…, author alesapin)7b999a6: the conflict-resolution commit (author blau-ai)
The DCO bot's own fix options are a remediation commit, or rewriting the branch with rebase --signoff plus a force-push. I'm not allowed to force-push, so if DCO must be green, a maintainer needs to choose one of these or override the check. That's normal practice for upstream backports. Nothing in the code needs to change.
Suggested action
- Re-run the failed jobs in run 44083201413. That should clear checks 1–5. The ubsan fuzzer could also be accepted as-is, since its report is already
OK. - Deal with DCO by policy as described above.
- There's nothing to fix in
src/Storages/StorageMergeTree.cpp, the only file this PR changes.
I didn't rebuild or re-run anything locally. This conclusion rests on the Actions job logs, check-run annotations and the S3 reports for this commit.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Prevent TTL merge counter leaks when exceptions occur during merge preparation. Resolves ClickHouse#89019 (ClickHouse#89127 by @save-my-heart)
Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: