-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scaling out docs seem to fail #2842
Comments
The output of the clickhouse keeper commands is interesting (node names and general ip addresses changed).
Keeper at least thinks it is ok.
Initially that node count seemed high, but apparently that is just the total number of nodes in the data tree that zk is keeping synchronized.
The If I run the command on each node, transforming the IP into the node name, I get this: Node 1 (follower, container IP
Node 2 (follower, container IP
Node 3 (leader, container IP
So every keeper instance seems to have a single valid client reference, and then another IP which is almost, but not quite, their own container IP. This all might be a red herring, but it certainly looks wrong to me. That being said, the output from the docs is:
The IP/port combos do not let me distinguish which client is associated with which node, but given the packet counts for the first client, it seems as though it may be self-referential. That would be interesting, because it means of the two other nodes, only one is connected as a client, which is the same as my setup. ... Ok, additional research seems to indicate this is normal for zookeeper, that clients "chain" together like this. Which means the keeper clustering appears to be functioning as expected, and it is still unclear why running |
The most obvious error appears in the
I am able to see the task in the ddl queue, but I have no idea why there are no workers executing it. |
I am attempting to strictly follow the docs listed here:
https://clickhouse.com/docs/en/architecture/horizontal-scaling
This involves copy-pasting the configs and then updating hostnames and the cluster name, but essentially the configs are the same.
I can run the
SHOW clusters;
query successfully, but as soon as I runCREATE DATABASE db1 ON CLUSTER cluster_2S_1R;
, the query simply hangs for three minutes then times out.I have two questions around this:
Additional context:
err.log
file.The text was updated successfully, but these errors were encountered: