You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI triage for 93f9ea9: none of the 4 failures come from this PR
The PR changes only src/Storages/StorageMergeTree.cpp. It wraps the TTL-merge tagger creation in try/catch and calls cancelMergeWithTTL() if that creation throws. Builds pass, and every stateless, stateful, integration and regression suite that finished is green.
Check
Verdict
Integration tests (asan, old analyzer)-4, shard 5/8
Infra: the runner was lost
Compatibility check (release)
Infra: DNS failure inside the test container
Docker keeper image
Infra: docker buildx driver on this runner
DCO
Not about the code: a commit has no sign-off. It also fails on sibling PRs #2894 and #2817
Job annotation: The self-hosted runner lost communication with the server.
The job stopped at the Run step, so it uploaded no log and no [5/8] report (the report URL returns 404). The other 7 shards passed with 0 failures (408–465 tests each).
Next step: re-run this job. No tests failed; the shard never finished.
2. Compatibility check (release): Old ubuntu:12.04 failed
glibc check passed. The ubuntu:12.04 step failed because the client could not connect to the server:
Cannot resolve host (localhost), error 0: Host not found.
Code: 198. DB::NetException: Not found address of host: localhost: (localhost:9000). (DNS_ERROR)
Next step: if DCO is meant to block merging, sign off with git commit -s or use the DCO app's "set to pass". Otherwise ignore it.
Suggested fixes for PR-caused failures: none. Re-run the integration shard, compatibility check and keeper image jobs; I expect them to pass.
About the backport itself: the diff matches upstream ClickHouse#89127. Because bookMergeWithTTL() is called before the try block, the catch (...) that calls cancelMergeWithTTL() and then rethrows leaves the TTL-merge counter balanced, and once CurrentlyMergingPartsTagger has been built, nothing else can throw before the return.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: