Skip to content

Fix non-MergeTree engines for system.*_log#34989

Merged
alesapin merged 1 commit intoClickHouse:masterfrom
azat:fix-system-log-settings
Mar 2, 2022
Merged

Fix non-MergeTree engines for system.*_log#34989
alesapin merged 1 commit intoClickHouse:masterfrom
azat:fix-system-log-settings

Conversation

@azat
Copy link
Copy Markdown
Member

@azat azat commented Mar 2, 2022

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix non-MergeTree engines for system.*_log

Fixes: #34949 (cc @alesapin @nikitamikhaylov )

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 2, 2022
@alesapin alesapin self-assigned this Mar 2, 2022
Copy link
Copy Markdown
Member

@alesapin alesapin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite ugly, but should work.

@alesapin
Copy link
Copy Markdown
Member

alesapin commented Mar 2, 2022

Any integration test and merge

@azat
Copy link
Copy Markdown
Member Author

azat commented Mar 2, 2022

Quite ugly, but should work.

Yes, but there are quite a few such places already:

if (create.storage && endsWith(create.storage->engine->name, "MergeTree"))

if (!endsWith(engine.name, "MergeTree"))

@alesapin alesapin merged commit 7312b43 into ClickHouse:master Mar 2, 2022
@azat azat deleted the fix-system-log-settings branch March 2, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants