Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Mitigation around AWS RDS write forwarding in read only replicas #293

Open
3 tasks done
ls-urs-keller opened this issue Nov 20, 2024 · 3 comments
Open
3 tasks done
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@ls-urs-keller
Copy link

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

  • I have searched the existing issues to make sure my question has not been asked before
  • I have provided all the necessary information and context to help answer my question
  • I have read the documentation and/or README for this project (if applicable)
@ls-urs-keller ls-urs-keller added the question Further information is requested label Nov 20, 2024
@ls-urs-keller 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
@jchrys
Copy link
Collaborator

jchrys commented Nov 21, 2024

Thanks for providing the details that really helps. Let me check if we can implement this without affecting current behavior.

@jchrys jchrys self-assigned this Nov 21, 2024
@jchrys jchrys added the enhancement New feature or request label Nov 21, 2024
@ls-urs-keller
Copy link
Author

Thanks for providing the details that really helps. Let me check if we can implement this without affecting current behavior.

I have a support call with AWS, they can't reproduce, before changing anything let me come back to you with the results of that call.

@jchrys
Copy link
Collaborator

jchrys commented Nov 25, 2024

Got it :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants