Skip to content

: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.

chore(clickhouse): drop retired shufflehog NodeRole (#70996)

Paweł Szczur649d5e93dba3
diff --git a/posthog/clickhouse/client/connection.py b/posthog/clickhouse/client/connection.py
index 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.py
index 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_VIE
operations = [
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.md
index 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 nodes
It ingests data from Kafka to a proper ClickHouse shard.