Ultimate

X_RATE_LIMIT_STORE_UNAVAILABLE

Means

the shared rate-limit store did not answer, so nothing decided

Typical cause

the PgExecutor handed to postgresRateLimitStore returned no row for a statement whose returning clause always produces one — a swallowed driver error, a pooler that dropped the statement, or an executor that maps returning away. Raised rather than defaulted: a limiter that cannot read its bucket has no safe assumption, and guessing allowed hands out the fleet-wide budget to every replica at once

Fix

psql "$DATABASE_URL" -c "select * from x_rate_limit limit 1" — then confirm the PgExecutor passed to postgresRateLimitStore returns the rows of returning

Listed under HTTP

This page as markdown