Serializable isolation violation on table X with Redshift using upsert #665
Labels
bug
Something isn't working
minor release
Will be addressed in the next minor release
ready to release
Describe the bug
I have a lambda that reads a file from S3 and then insert it to Redshift. I noticed that when multiple lambdas are inserting in the same table, the first one inserts things correctly but the others are raising the error below:
{'S': 'ERROR', 'C': 'XX000', 'M': '1023', 'D': 'Serializable isolation violation on table - 119371, transactions forming the cycle are: 1745830, 1745762 (pid:15021)', 'F': '/home/ec2-user/padb/src/sys/xen_execute.cpp', 'L': '9797', 'R': 'pg_throw'}
To Reproduce
Lambda layer 2.7.0 for Python 3.8
Code used to insert to RS (let me know if more informations are required):
The text was updated successfully, but these errors were encountered: