Altinity / Altinity/clickhouse-backup
Add options which allow restore non sharded replicated tables
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 276
- Avg merge
- 18h 3m
- Merged PRs (30d)
- 26
Description
CLICKHOUSE_SKIP_RESTORE_NON_SHARDED_REPLICATED_TABLES - false / 0 default value
CLICKHOUSE_SKIP_CHECK_NON_SHARDED_REPLICATED_TABLES_CLUSTER - with {cluster} default value
use following query to check global tables
SELECT database, table, if(uniqExact(zookeeper_path) = 1 AND count() > 1,'global','sharded') AS type
FROM clusterAllReplicas('{cluster}', system.replicas)
GROUP BY database, table
HAVING type='global'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by tracing the restore path and configuration parsing for existing skip/check options; use the supplied clusterAllReplicas query to validate non-sharded replicated-table detection, and finish by confirming the two documented defaults and restore behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clickhouse, go, sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100