mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
Proxy-port exhaustion threw InsufficientReplicationGroupCapacity with HTTP 503. No such shape exists in the elasticache model, so SDK clients cannot map it to a typed exception. CreateReplicationGroup declares InsufficientCacheClusterCapacityFault, whose wire code is InsufficientCacheClusterCapacity at HTTP 400 with senderFault set, so return that instead. The exhausted range is a Floci-side limit rather than anything AWS models, so the response now carries AWS's own capacity wording and the real cause — the configured proxy-base-port/proxy-max-port range — is logged at WARN. Note this changes retry semantics: 503 invites a retry, 400 is a sender fault and should not be retried. That follows the model, and the previous 503 was inviting retries against a condition that will not clear on its own.