aws / aws-dax-go

AWS DAX SDK for the Go programming language. https://aws.amazon.com/dynamodb/dax
Apache License 2.0
47 stars 49 forks source link

Connection torn down in the case of transaction write cancel #48

Open adriantam opened 1 year ago

adriantam commented 1 year ago

We have observed that transaction write cancel due to item already exists in table causes connection to be torn down. Based on the code, it appears that recycleTube fails as daxTransactionCanceledFailure not recognized as daxRequestFailure.

An example of why the code is problematic - https://go.dev/play/p/gNdIgf49at1