0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
Commit Graph

3 Commits

Author SHA1 Message Date
Karl-Aksel Puulmann
c0f7dbf3a8
fix(sharding): Make sharding async migration more reliable (#9012)
* fix(sharding): Improve the 0004 sharding migration

This change:
- Makes the rollbacks always work by
    - Fixing some operations from before
    - Creating/deleting materialized views correctly
    - Ensuring zookeeper paths are unique
- Handles an edge case around moving tables by retrying

* Rename a parameter

* Verify migration status

* Update a test

* >=

* Update ee/clickhouse/errors.py

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Update code comment

* Update log message

* Type:ignore

Co-authored-by: Tiina Turban <tiina303@gmail.com>
2022-03-15 15:21:29 +02:00
Guido Iaquinti
0ef7f6a493
ci(flake8): enable unused import check (#8714) 2022-03-08 09:53:54 +01:00
Karl-Aksel Puulmann
f25ae0a879
Generate clickhouse query error class dynamically (#5492)
This helps with not grouping sentry errors together.

See issue for more context

Closes https://github.com/PostHog/posthog/issues/5491
2021-08-06 16:31:42 +01:00