-
Notifications
You must be signed in to change notification settings - Fork 981
[WIP] ch cluster+replica+ha #7111
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
Conversation
…development start scripts
…nto uj/ch-cluster
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This work-in-progress PR introduces ClickHouse cluster, replication, and high availability support to Countly. The changes focus on configuration, cluster-aware mutation management, and improved development tooling.
Key changes:
- Added comprehensive ClickHouse cluster configuration with support for sharding, replication, and HA modes
- Modified mutation validation logic to handle cluster mode with
_localtable suffixes - Cleaned up extensive debug logging in API startup, converting console.log calls to structured logging
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added dev start scripts with symlink support and ClickHouse cluster test script |
| api/jobs/mutationManagerJob.js | Added cluster-aware mutation validation logic using ClusterManager to determine appropriate table names |
| api/configextender.js | Added documentation comments explaining ClickHouse configuration override mechanism |
| api/config.sample.js | Added extensive ClickHouse cluster, replication, dictionary, and identity configuration sections |
| api/api.js | Removed debug console.log statements and replaced with structured log utility calls |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… for testing in UnifiedEventSink and UnifiedEventSource
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 18 out of 21 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…nto uj/ch-cluster
No description provided.