mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
A tag call is answered for the record its ARN names, which needs the record to have one. A cluster or instance written before ARNs were stored has none, so the comparison had nothing to compare and the call resolved by identifier alone — the hole that check closes, left open for exactly the records that predate it. Reachable on the docdb credential scope, which addresses this service directly. The ARN is filled in on read, as the RDS side already fills in a parameter group's missing region and ARN, and from the default region rather than the caller's: such a record was created when every ARN came from the default, so that is the region it is in — taking the reader's would let a caller elsewhere claim it, which is the same bug wearing a fix's clothes. With every record carrying an ARN by the time it is compared, the null allowance in requireArnNamesRecord goes away rather than remaining as a standing exception. A deleted record's monitor is also dropped now. What stops a tag from reviving a deleted record is the re-resolve inside the lock rather than the identity of the monitor, so retiring one with its record is safe.