Closed doctorpangloss closed 1 month ago
Self-hosting
https://github.com/plausible/analytics/blob/51f0e406a05d2f11afb4e71e824b994aa19f4221/lib/plausible/data_migration/numeric_ids.ex#L49 which calls
SELECT 1 FROM system.replicas WHERE table = 'events'
On a clean clustered Clickhouse, this will return 0.
0
You must determine if clustered tables should be used some other way.
No response
select 1 from system.clusters where host_address != '127.0.0.1'
should work instead. additionally, the legacy ddl needs to be updated
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
https://github.com/plausible/analytics/blob/51f0e406a05d2f11afb4e71e824b994aa19f4221/lib/plausible/data_migration/numeric_ids.ex#L49 which calls
On a clean clustered Clickhouse, this will return
0
.Expected behavior
You must determine if clustered tables should be used some other way.
Screenshots
No response
Environment
No response