Skip to content

REPLICA_ALREADY_EXISTS due to hardcoded UUID in the replicas #1932

@himadrisingh

Description

@himadrisingh

While using

ENGINE = ReplicatedAggregatingMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')

New replica gets hardcoded uuid once its recreated as in this commit ac45f5e

Shouldn't this be configurable to avoid such situation.

ATTACH TABLE _ UUID '<uuid>'
(
...
)
ENGINE = ReplicatedAggregatingMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions