clickhouse-operator icon indicating copy to clipboard operation
clickhouse-operator copied to clipboard

Replica has not been deleted in ZooKeeper when scaling down

Open jaceklubzinski opened this issue 2 years ago • 0 comments

Hi team,

In a clickhouse configuration with 2 shards and replicas, replica drop operations are performed correctly only on the first shard, on the second the data is still visible in the zookeeper

 /clickhouse/tables/c2a5cdaf-bac4-41df-82a5-cdafbac4e1df/1/replicas/devenv-clickhouse-default-default-1-0
/clickhouse/tables/c2a5cdaf-bac4-41df-82a5-cdafbac4e1df/1/replicas/devenv-clickhouse-default-default-1-1

and table configuration

total_replicas:             2
active_replicas:            1

All tests were performed on version 0.18.5.

The problem looks similar to https://github.com/Altinity/clickhouse-operator/issues/735, but was only tested for a single shard configuration.

jaceklubzinski avatar Jun 07 '22 11:06 jaceklubzinski