Skip to content

Commit

Permalink
chore: Make FeatureNotSupported non-retryable in pg batch export (#27211
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tomasfarias authored Jan 2, 2025
1 parent 0db2211 commit b74f243
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions posthog/temporal/batch_exports/postgres_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,9 @@ async def run(self, inputs: PostgresBatchExportInputs):
"PostgreSQLConnectionError",
# Raised when merging without a primary key.
"MissingPrimaryKeyError",
# Raised when the database doesn't support a particular feature we use.
# Generally, we have seen this when the database is read-only.
"FeatureNotSupported",
],
finish_inputs=finish_inputs,
)

0 comments on commit b74f243

Please sign in to comment.