Hello, I tried a distributed Clickhouse setup with...
# support
h
Hello, I tried a distributed Clickhouse setup with Docker as described here but the otel-collector-migrator runs on this error:
Copy code
otel-migrator  | {"level":"error","timestamp":"2024-10-24T11:02:36.498Z","caller":"migrationmanager/manager.go:81","msg":"Failed to run migrations for migrator","component":"migrationmanager","migrator":"logs","error":"clickhouse migrate failed to run, error: migration failed in line 0: CREATE TABLE IF NOT EXISTS  signoz_logs.logs_v2_resource ON CLUSTER cluster\n(\n    `labels` String CODEC(ZSTD(5)),\n    `fingerprint` String CODEC(ZSTD(1)),\n    `seen_at_ts_bucket_start` Int64 CODEC(Delta(8), ZSTD(1)),\n    INDEX idx_labels lower(labels) TYPE ngrambf_v1(4, 1024, 3, 0) GRANULARITY 1\n)\nENGINE = ReplicatedReplacingMergeTree\nPARTITION BY toDate(seen_at_ts_bucket_start / 1000)\nORDER BY (labels, fingerprint, seen_at_ts_bucket_start)\nTTL toDateTime(seen_at_ts_bucket_start) + INTERVAL 1296000 SECOND + INTERVAL 1800SECOND DELETE\nSETTINGS ttl_only_drop_parts = 1, index_granularity = 8192; (details: code: 253, message: There was an error on [clickhouse-2:9000]: Code: 253. DB::Exception: Replica /clickhouse/tables/7d862ef6-7807-48bd-9a86-64cdda4f9afb/01/replicas/example01-01-1 already exists. (REPLICA_ALREADY_EXISTS) (version 24.1.2.5 (official build)))","stacktrace":"<http://github.com/SigNoz/signoz-otel-collector/migrationmanager.(*MigrationManager).Migrate|github.com/SigNoz/signoz-otel-collector/migrationmanager.(*MigrationManager).Migrate>\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/migrationmanager/manager.go:81\nmain.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go:126\nruntime.main\n\t/opt/hostedtoolcache/go/1.21.13/x64/src/runtime/proc.go:267"}
Is there any advice on how to pass the migration?