0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/ee/management/commands
Karl-Aksel Puulmann c8d6b2225f
feat(sharding): add command to sync tables onto new nodes (#8912)
* feat(sharding): add command to sync tables onto new nodes

clickhouse-operator only syncs some tables onto new nodes. This new
command ensures that when adding new shards, they are automatically
synced up on redeploying

Note that there might be timing concerns here as resharding on altinity
cloud does not redeploy automatically. In practice however what this
means is that new nodes just won't ingest any data until another deploy

* Add test to the new command

* Improve non-replicated test
2022-03-08 12:50:49 +02:00
..
test feat(sharding): add command to sync tables onto new nodes (#8912) 2022-03-08 12:50:49 +02:00
create_ch_migration.py
materialize_columns.py ci(flake8): enable unused import check (#8714) 2022-03-08 09:53:54 +01:00
migrate_clickhouse.py Fix python manage.py migrate_clickhouse --plan (#8741) 2022-02-25 16:51:22 +02:00
run_async_migrations.py feat(async-migrations): migration complete early exit (#8841) 2022-03-03 17:43:00 +01:00
setup_test_environment.py
sync_replicated_schema.py feat(sharding): add command to sync tables onto new nodes (#8912) 2022-03-08 12:50:49 +02:00