Skip to content

Discover all clusters using auto discovery #612

Closed
@alex-zaitsev

Description

@alex-zaitsev

Currently, cluster auto discovery requires to specify a cluster name, and then it discovers cluster nodes. It is ok if we want to cluster to know about its own nodes, but does not work well when we want to discover remote clusters.

Instead, we should allow to discover all clusters under a certain path on observer node.

Current docs https://clickhouse.com/docs/en/operations/cluster-discovery#using-cluster-discovery

Proposed syntax:

<remote_servers>
    <discovery>
        <path>/clickhouse/discovery</path>
        <observer>true</observer>
   </discovery>
</remote_servers>

That should work together with existing clusters that are defined explicitly

Metadata

Metadata

Assignees

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