Skip to content

fix default_replica_path and default_replica_name values are useless …#21060

Merged
tavplubix merged 4 commits intoClickHouse:masterfrom
mxzlxy:fix-bug-for-replicated-engine-parameter
Feb 26, 2021
Merged

fix default_replica_path and default_replica_name values are useless …#21060
tavplubix merged 4 commits intoClickHouse:masterfrom
mxzlxy:fix-bug-for-replicated-engine-parameter

Conversation

@mxzlxy
Copy link
Copy Markdown
Contributor

@mxzlxy mxzlxy commented Feb 22, 2021

…on Replicated(*)MergeTree engine when the engine needs specify other parameters

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):

fix default_replica_path and default_replica_name values are useless on Replicated(*)MergeTree engine when the engine needs specify other parameters

Detailed description / Documentation draft:

when create ReplicatedMergeTree table, the create clause is: "CREATE TABLE ...... ENGINE = ReplicatedMergeTree('/clickhouse/tables/{layer}-{shard}/table_name', '{replica}')" , you can omit arguments when specify default arguments(default_replica_path and default_replica_name) in the server configuration file. but, default arguments are invalid for other replicated engine which has other arguments, for example:ENGINE = ReplicatedReplacingMergeTree(ver) is illegal when we only specify ver.

…on Replicated(*)MergeTree engine when the engine needs specify other parameters
@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Feb 22, 2021
@tavplubix tavplubix self-assigned this Feb 22, 2021
@tavplubix
Copy link
Copy Markdown
Member

Fast test — fail: 1 - it was broken in master, let's restart tests

@mxzlxy
Copy link
Copy Markdown
Contributor Author

mxzlxy commented Feb 25, 2021

@tavplubix Functional stateless tests still failed, how can I fix it, thanks

@tavplubix
Copy link
Copy Markdown
Member

Failed tests are known to be flaky, you don't have to do anything

@tavplubix tavplubix merged commit 09f6244 into ClickHouse:master Feb 26, 2021
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
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
robot-clickhouse pushed a commit that referenced this pull request Feb 26, 2021
tavplubix added a commit that referenced this pull request Mar 3, 2021
Backport #21060 to 21.2: fix default_replica_path and default_replica_name values are useless …
tavplubix added a commit that referenced this pull request Mar 3, 2021
Backport #21060 to 21.1: fix default_replica_path and default_replica_name values are useless …
tavplubix added a commit that referenced this pull request Mar 3, 2021
Backport #21060 to 20.12: fix default_replica_path and default_replica_name values are useless …
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.

4 participants