teleport icon indicating copy to clipboard operation
teleport copied to clipboard

Fix auto discovery on secondary cluster of a global Aurora database

Open greedy52 opened this issue 2 years ago • 0 comments

Fixes #16079

  • #16079

Root cause: https://github.com/gravitational/teleport/blob/9514a313c3d9c4438e3deae8fd34df6cc63a5b8c/lib/srv/db/cloud/watchers/rds.go#L207-L214 This assumption was WRONG. If there is only one member in the cluster, it's not necessarily a writer.

In the case of a secondary cluster of a global Aurora database, the secondary cluster can have no writers but only readers. Screen Shot 2022-09-06 at 10 26 25 PM

greedy52 avatar Sep 07 '22 02:09 greedy52