Repository navigation
Fix Cannot start clickhouse-server in stress tests caused by 05315_mongodb_connection_options_secrets - #123632
Merged
alexey-milovidov merged 1 commit intoOct 3, 2026
Conversation
…tion_options_secrets` before the collections The test dropped the named collections while the tables `e06` and `e08` still referenced them. In the stress test the database outlives the test, so after a restart these tables cannot be attached (`NAMED_COLLECTION_DOESNT_EXIST`) and the server fails to start: `Cannot start clickhouse-server`. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=93618fd54cc13c0e6bbc5b6dc10ab16e8500d7ee&name_0=MasterCI&name_1=Stress%20test%20%28arm_tsan%29 https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=2c26561250e812fd8229f72d762d20c5015e6815&name_0=MasterCI&name_1=Stress%20test%20%28arm_asan_ubsan%2C%20s3%29 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Workflow [PR], commit [ce46692] Summary: ✅ AI ReviewSummaryThis PR fixes the cleanup path in Final VerdictStatus: ✅ Approve |
1 task done
alexey-milovidov
deleted the
fix-05315-mongodb-named-collection-cleanup
branch
October 3, 2026 18:59
This was referenced Oct 4, 2026
This was referenced Oct 5, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related: #123240
Related: #121519
05315_mongodb_connection_options_secretsdropped its named collections while the tablese06ande08(created withENGINE = MongoDB(<named collection>, ...)) still existed. In the stress test, the database outlives the test. After the server restarts, these tables cannot be attached (NAMED_COLLECTION_DOESNT_EXIST), so the server fails all start attempts:Cannot start clickhouse-server.The test now drops the objects that use the named collections before dropping the collections. Checked locally: the test passes, and the server restarts with the test database still in place.
The underlying server behavior is tracked in #121519:
DROP NAMED COLLECTIONsucceeds while a table still depends on the collection.CI reports:
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix the stress test failing with
Cannot start clickhouse-serverafter05315_mongodb_connection_options_secrets.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/123632]
Version info
26.10.1.1424-master(included in26.10and later)