unee-t / lambda2sqs

Relays SQL triggered payloads to MEFE via a queue
https://ap-southeast-1.console.aws.amazon.com/lambda/home?region=ap-southeast-1#/applications/lambda2sqs
GNU Affero General Public License v3.0
0 stars 4 forks source link

Error 1213: Deadlock found when trying to get lock; try restarting transaction #17

Closed kaihendry closed 5 years ago

kaihendry commented 5 years ago

RE @franck-boullier and I discussion, we resolved to make it retry in these cases.

kaihendry commented 5 years ago

By default lambda retries twice. We need to probably setup a DLQ SQS to deal with Payload is valid, but the action took took long (POST time out, database time out) type errors.

In an ideal world, we didn't have these time outs to contend with.

kaihendry commented 5 years ago

Defer to https://github.com/unee-t/lambda2sns/issues/19