Skip to content

Conversation

@kanwarujjaval
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a 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 _local table 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.

Copy link
Contributor

Copilot AI left a 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.

@kanwarujjaval kanwarujjaval merged commit def009c into newarchitecture Jan 8, 2026
9 checks passed
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.

4 participants