Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of Buffer table engine with type Map #31742

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

CurtizJ
Copy link
Member

@CurtizJ CurtizJ commented Nov 24, 2021

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix usage of Buffer table engine with type Map.
Fixes #30546.

Detailed description / Documentation draft:
The bug was in mutation of ColumnMap, which is implemented via method forEachSubcolumn. Nested column was not copied and data race could appear.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Nov 24, 2021
@alexey-milovidov alexey-milovidov self-assigned this Nov 24, 2021
@alexey-milovidov alexey-milovidov merged commit 423d497 into ClickHouse:master Nov 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Nov 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Nov 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Nov 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Nov 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Nov 25, 2021
CurtizJ added a commit that referenced this pull request Nov 25, 2021
Backport #31742 to 21.9: Fix usage of `Buffer` table engine with type `Map`
CurtizJ added a commit that referenced this pull request Nov 25, 2021
Backport #31742 to 21.11: Fix usage of `Buffer` table engine with type `Map`
CurtizJ added a commit that referenced this pull request Nov 25, 2021
Backport #31742 to 21.8: Fix usage of `Buffer` table engine with type `Map`
CurtizJ added a commit that referenced this pull request Nov 25, 2021
Backport #31742 to 21.10: Fix usage of `Buffer` table engine with type `Map`
CurtizJ added a commit that referenced this pull request Nov 27, 2021
Backport #31742 to 21.3: Fix usage of `Buffer` table engine with type `Map`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server crash when selecting from system.query_log if it is using Buffer table as a backend
3 participants