Skip to content
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

Sometimes the number of zk-nodes suddenly increases significantly even when the bulk write QPS remains unchanged #64397

Closed
xlvchao opened this issue May 25, 2024 · 4 comments

Comments

@xlvchao
Copy link

xlvchao commented May 25, 2024

When using ClickHouse, if there is a sudden surge of traffic, the bulk write QPS will also increase, and in this case, an increase in the number of zk-nodes is considered normal.

But sometimes the number of zk-nodes suddenly increases significantly even when the bulk write QPS remains unchanged. Has anyone encountered this situation?

I need a reasonable explanation!

@xlvchao xlvchao added the question Question? label May 25, 2024
@den-crane
Copy link
Contributor

den-crane commented May 26, 2024

Replication issues/mutations issues/outages of nodes. Monitor system.replication_queue at least count(), replication lag (max_absolute_replica_delay). I saw a spike from 50 thousands znodes to 5 million because of adding a new node to the cluster.

@Algunenano
Copy link
Member

Den's explanations are all plausible. I've also seen spikes due to adding a new replica: as it's replicating old data, new (small) parts being ingested in the meantime(.

Check replication status in all replicas and check what nodes are being created / maintained to investigate your specific circumstances.

@xlvchao
Copy link
Author

xlvchao commented May 29, 2024

Den's explanations are all plausible. I've also seen spikes due to adding a new replica: as it's replicating old data, new (small) parts being ingested in the meantime(.

Check replication status in all replicas and check what nodes are being created / maintained to investigate your specific circumstances.

@den-crane @Algunenano But I did not add new nodes to the new cluster. How can this be explained?

@Algunenano
Copy link
Member

It's just a guess. Since you are not providing any data about the kind of nodes that are being created and not deleted, there is no way to provide you with anything but guesses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants