Skip to content

configure the name of "cluster" used for sharding #10

@bvt123

Description

@bvt123

LagLive code:

         LEFT JOIN
     (
         SELECT host_name,
                shard_num
         FROM system.clusters
         WHERE cluster = 'sharded'
         ) AS hosts ON shard = hosts.shard_num

make cluster name configurable, without code change or add the requirements to the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions