PeerDB-io / peerdb

Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage
https://peerdb.io
Other
2.17k stars 88 forks source link

raise NonRetryable errors with some replication issues #2028

Closed heavycrystal closed 4 weeks ago

heavycrystal commented 4 weeks ago

make sure that these errors aren't getting wrapped in by fmt.Errorf by activity/callers, otherwise temporal won't pick up that it's a non retryable error

I think Temporal matches using errors.As/Is internally, tested one of the cases and it failed the workflow as expected