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.

fix(postgres): tell customers what to check when a cdc slot stays held (#119208)

Tom Owers9e070f805b01
diff --git a/products/warehouse_sources/backend/temporal/data_imports/cdc/errors.py b/products/warehouse_sources/backend/temporal/data_imports/cdc/errors.py
index 7f620a8dac46..66c7cda9a8fa 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/cdc/errors.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/cdc/errors.py
@@ -138,7 +138,8 @@ _CATEGORY_DEFAULTS: dict[CDCErrorCategory, tuple[str, bool]] = {
False,
),
CDCErrorCategory.SLOT_IN_USE: (
- "The replication slot is currently in use by another connection. PostHog will retry shortly.",
+ "Another connection held your replication slot, so this run couldn't read changes. If this keeps "
+ "happening, check that no other tool or PostHog source reads from that slot.",
True,
),
CDCErrorCategory.PERMISSION_DENIED: (