You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had some issues around AWS RDS with cross region replication and rw/ro replicas with write forwarding.
I believe it is a bug on the AWS side. But it would be good if it could be mitigated.
ls-urs-keller
changed the title
[QUESTION] Your question title here
[QUESTION] Mitigation around AWS RDS write forwarding in read only replicas
Nov 20, 2024
Sorry for the late reply.
So AWS support says it is a permission problem on our side. To use START TRANSACTION READ WRITE you will need more permissions than when using BEGIN or START TRANSACTION go figure.
I guess to make this work with AWD RDS and write forwarding you must not not issue START TRANSACTION READ WRITE.
Summary
We had some issues around AWS RDS with cross region replication and rw/ro replicas with write forwarding.
I believe it is a bug on the AWS side. But it would be good if it could be mitigated.
Analysis here: https://github.com/ls-urs-keller/r2dbc-test
Mitigation: don't issue "START TRANSACTION READ WRITE" but either just "BEGIN" or "START TRANSACTION" if the transaction is readonly=false.
Checklist
The text was updated successfully, but these errors were encountered: