ArsenyYankovsky / typeorm-aurora-data-api-driver

A bridge between TypeORM and Aurora Data API
MIT License
175 stars 38 forks source link

[Question] Is compatible with Aurora Serverless v2 ? #149

Closed pablozandona closed 11 months ago

pablozandona commented 2 years ago

Is compatible with Aurora Serverless v2 using Postgresql?

SamRoyDev commented 2 years ago

We are also wondering this, Aurora v1 is going EOL next year and there is no Data API planned to be supported in v2

juangomez-alation commented 2 years ago

Also wondering the same

RaviVadera commented 1 year ago

Is compatible with Aurora Serverless v2 using Postgresql?

I believe serverless v2 does not support data API at all.

ArsenyYankovsky commented 11 months ago

I just tested Aurora Serverless V2 and Data API (https://aws.amazon.com/blogs/database/introducing-the-data-api-for-amazon-aurora-serverless-v2-and-amazon-aurora-provisioned-clusters/) on my personal cluster and it generally seems to work. However, I often get this error from the database:

Transaction is still running a query
DatabaseErrorException: Transaction is still running a query

It's coming from the aws-sdk v2 so I will test again after I migrate this project into using aws-sdk v3.

ryanmargono commented 9 months ago

@ArsenyYankovsky any updates?

ArsenyYankovsky commented 9 months ago

Please read my previous comment, I tested it against a real cluster and all the tests passed. If you have any specific issues please report them in a separate ticket.

ryanmargono commented 9 months ago

Thanks @ArsenyYankovsky, do you have an example of the entities you used in your test?

ArsenyYankovsky commented 9 months ago

All entities used in tests for Postgres could be found here: https://github.com/ArsenyYankovsky/typeorm-aurora-data-api-driver/tree/master/test/functional/pg/basic/entity