Skip to content

Restrict mutations for engines which doesn't support them#21183

Merged
alesapin merged 2 commits intomasterfrom
fix_mutation_for_storages
Feb 26, 2021
Merged

Restrict mutations for engines which doesn't support them#21183
alesapin merged 2 commits intomasterfrom
fix_mutation_for_storages

Conversation

@alesapin
Copy link
Copy Markdown
Member

@alesapin alesapin commented Feb 25, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Now mutations allowed only for table engines that support them (MergeTree family, Memory, MaterializedView). Other engines will report a more clear error. Fixes #21168.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Feb 25, 2021
@alexey-milovidov
Copy link
Copy Markdown
Member

Ok but it looks like a more high-level than just checking for nullptr. Maybe also add a low-level check just in case?

@alexey-milovidov alexey-milovidov self-assigned this Feb 25, 2021
@alesapin alesapin merged commit 5b72cd2 into master Feb 26, 2021
@alesapin alesapin deleted the fix_mutation_for_storages branch February 26, 2021 06:54
robot-clickhouse pushed a commit that referenced this pull request Feb 26, 2021
robot-clickhouse pushed a commit that referenced this pull request Feb 26, 2021
alesapin added a commit that referenced this pull request Mar 3, 2021
Backport #21183 to 21.1: Restrict mutations for engines which doesn't support them
alesapin added a commit that referenced this pull request Mar 3, 2021
Backport #21183 to 21.2: Restrict mutations for engines which doesn't support them
alesapin added a commit that referenced this pull request Mar 3, 2021
…e5acb717d439310ad024b2a27201da

Cherry pick #21183 to 20.12: Restrict mutations for engines which doesn't support them
alesapin added a commit that referenced this pull request Mar 3, 2021
…5acb717d439310ad024b2a27201da

Cherry pick #21183 to 20.8: Restrict mutations for engines which doesn't support them
robot-clickhouse pushed a commit that referenced this pull request Mar 3, 2021
robot-clickhouse pushed a commit that referenced this pull request Mar 3, 2021
alesapin added a commit that referenced this pull request Mar 9, 2021
Backport #21183 to 20.12: Restrict mutations for engines which doesn't support them
alesapin added a commit that referenced this pull request Mar 9, 2021
Backport #21183 to 20.8: Restrict mutations for engines which doesn't support them
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.

Segmentation fault after mutation ALTER TABLE view ON CLUSTER DELETE

3 participants