Skip to content

Comments

Investigate unauthorized clickhouse writes#2

Draft
easkarov wants to merge 1 commit intomainfrom
cursor/investigate-unauthorized-clickhouse-writes-a3a6
Draft

Investigate unauthorized clickhouse writes#2
easkarov wants to merge 1 commit intomainfrom
cursor/investigate-unauthorized-clickhouse-writes-a3a6

Conversation

@easkarov
Copy link
Collaborator

@easkarov easkarov commented Oct 1, 2025

Implement a sharded ClickHouse DataSource for Spring Boot to provide robust, load-balanced, and fault-tolerant connectivity to ClickHouse clusters.

This PR introduces a custom DataSource that manages multiple Hikari connection pools, one for each ClickHouse shard. It includes a weighted round-robin load balancer and a mechanism to automatically detect and exclude unhealthy shards upon network errors, ensuring high availability and efficient query distribution. Health checks periodically attempt to restore unhealthy shards.


Open in Cursor Open in Web

Co-authored-by: brainfucker8oldman <brainfucker8oldman@platimail.com>
@cursor
Copy link

cursor bot commented Oct 1, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Oct 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
stroyka-react-hh7l Error Error Oct 1, 2025 4:08pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants