:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(clickhouse): drop retired shufflehog NodeRole (#70996)
Paweł Szczur649d5e93dba3
diff --git a/posthog/clickhouse/client/connection.py b/posthog/clickhouse/client/connection.pyindex 05c99e447c41..43238a2a0618 100644--- a/posthog/clickhouse/client/connection.py+++ b/posthog/clickhouse/client/connection.py@@ -27,7 +27,6 @@ class NodeRole(StrEnum):INGESTION_EVENTS = "events"INGESTION_SMALL = "small"INGESTION_MEDIUM = "medium"- SHUFFLEHOG = "shufflehog"ENDPOINTS = "endpoints"LOGS = "logs"diff --git a/posthog/clickhouse/migrations/0139_add_custom_metric_test_ingestion_layer.py b/posthog/clickhouse/migrations/0139_add_custom_metric_test_ingestion_layer.pyindex 10ec3a4e59b1..5f611f328a99 100644--- a/posthog/clickhouse/migrations/0139_add_custom_metric_test_ingestion_layer.py+++ b/posthog/clickhouse/migrations/0139_add_custom_metric_test_ingestion_layer.py@@ -5,10 +5,10 @@ from posthog.clickhouse.custom_metrics import CUSTOM_METRICS_INGESTION_LAYER_VIEoperations = [run_sql_with_exceptions(CUSTOM_METRICS_TEST_VIEW(),- node_roles=[NodeRole.INGESTION_EVENTS, NodeRole.SHUFFLEHOG],+ node_roles=[NodeRole.INGESTION_EVENTS],),run_sql_with_exceptions(CUSTOM_METRICS_INGESTION_LAYER_VIEW(),- node_roles=[NodeRole.INGESTION_EVENTS, NodeRole.SHUFFLEHOG],+ node_roles=[NodeRole.INGESTION_EVENTS],),]diff --git a/posthog/clickhouse/migrations/AGENTS.md b/posthog/clickhouse/migrations/AGENTS.mdindex 8cdd062178fe..41953ea1f954 100644--- a/posthog/clickhouse/migrations/AGENTS.md+++ b/posthog/clickhouse/migrations/AGENTS.md@@ -32,10 +32,6 @@ The main cluster is:Additionally, on k8s we have stateless nodes:-## ShuffleHog nodes--It shuffles data between Kafka partitions.-## Ingestion nodesIt ingests data from Kafka to a proper ClickHouse shard.