Repository navigation
Try to improve JSON column size lazy calculation - #83877
Merged
Avogar merged 11 commits intoAug 19, 2025
Merged
Conversation
Contributor
|
Workflow [PR], commit [eefd1b5] Summary: ❌
|
KochetovNicolai
approved these changes
Jul 17, 2025
…e-json-column-size-calculation
Avogar
marked this pull request as ready for review
July 23, 2025 10:41
Member
Author
|
I had to rewrite the code to avoid lock order inversion. We have to keep locks order |
KochetovNicolai
approved these changes
Aug 1, 2025
…e-json-column-size-calculation
Member
Author
|
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel) - #54748 Stateless tests (arm_binary, parallel) - #84577 Integration tests (aarch64, distributed plan, 1/4) - didn't find such failure anywhere else, but it seems unrelated to the changes, maybe some reallt rare flaky test |
azat
added a commit
to azat/ClickHouse
that referenced
this pull request
Jan 26, 2026
PR#85535 splits parts lock into read and write, but, it also removes one optimization that is made by ClickHouse#83877, revert it back, since it is likely still make sense.
azat
reviewed
Jan 26, 2026
| if (hasColumnsWithDynamicSubcolumns(getInMemoryMetadataPtr()->getSampleBlock())) | ||
| { | ||
| DataParts data_parts(committed_parts_range.begin(), committed_parts_range.end()); | ||
| parts_lock.lock.unlock(); |
Member
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Documentation entry for user-facing changes