Retry middleware on non-idempotent operations creates duplicate records
criticalconfigurationUpdated Jan 23, 2026(via Exa)
Technologies:
How to detect:
Retry middleware is applied to POST, PUT, DELETE, or PATCH requests, causing duplicate records, double charges, or inconsistent state when requests are retried after partial backend processing.
Recommended action:
Configure separate IngressRoute rules: apply retry middleware only to GET, HEAD, OPTIONS methods using Method() matcher. Exclude POST, PUT, DELETE, PATCH from retry middleware entirely.