Repository navigation
Do not consider data part as broken if projection is broken - #56864
Merged
Merged
Conversation
Contributor
|
This is an automated comment for commit e16aaa8 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
|
alesapin
approved these changes
Nov 28, 2023
alesapin
left a comment
Member
There was a problem hiding this comment.
We need test for fetch of data part with broken projection.
| bool MergeTreeData::partsContainSameProjections(const DataPartPtr & left, const DataPartPtr & right, String & out_reason) | ||
| { | ||
| if (left->getProjectionParts().size() != right->getProjectionParts().size()) | ||
| auto remove_broken_parts = [](auto & parts) |
Member
There was a problem hiding this comment.
sounds scary. remove_broken_parts_from_consideration?
…ng' into broken-projections-better-handling
…ng' into broken-projections-better-handling
kssenii
force-pushed
the
broken-projections-better-handling
branch
from
January 25, 2024 18:12
f936a76 to
08b6ec4
Compare
|
|
||
| if (!projection->is_broken) | ||
| { | ||
| LOG_TEST(log, "Marking projection {} as broken ({})", name, projection_file); |
Member
There was a problem hiding this comment.
@kssenii This super important message shouldn't be printed with TEST level.
Member
Author
There was a problem hiding this comment.
Yes, my mistake. Btw you can also see if projection is marked broken in system.projection_parts.
nikitamikhaylov
added a commit
that referenced
this pull request
Feb 27, 2024
Revert "Merge pull request #56864 from ClickHouse/broken-projections-better-handling"
kssenii
added a commit
that referenced
this pull request
Mar 26, 2024
…jections-handling Revert "Revert "Merge pull request #56864 from ClickHouse/broken-projections-better-handling""
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 to CHANGELOG.md):
Do not consider data part as broken if projection is broken. Closes #56593.