Skip to content
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

Allow migrations not to replicate with an argument #175

Closed

Conversation

macobo
Copy link

@macobo macobo commented Jul 16, 2021

This fixed build together with PostHog/posthog#5162

fuziontech and others added 10 commits July 14, 2021 14:36
Use replicated table for migration state
CREATE TABLE IF NOT EXISTS still raises errors if replicas exist, like
following:

```
E           infi.clickhouse_orm.database.ServerError: Replica /clickhouse/prod/tables/noshard/posthog.infi_clickhouse_orm_migrations/replicas/ch1-01 already exists (version 21.7.3.14 (official build)) (253)
```

This ignores these errors.
Ignore replica errors when applying migrations
Revert "Ignore replica errors when applying migrations"
Will be used locally/in tests
@macobo macobo closed this Jul 16, 2021
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.

2 participants