Retry public reads the database aborted with 40001

FixSecurityService
Shipped
September 16, 2026 at 10:04 PM UTC
Author
Kamo
Commit
9fd518a

Every DDL bumps the YSQL catalog version, and a transaction that began on the old one fails with "catalog snapshot ... invalidated: MISMATCHED_SCHEMA" (SQLSTATE 40001). During the rollouts around 19:31, 20:06 and 21:00 on 2026-09-16 that turned public changelog reads into 500s, which the marketing site logged as failed entry pages. The public list, entry, sitemap, stats and today-count reads now run up to three times when the cause chain carries SQLSTATE 40001, clearing the request's persistence context between attempts. Anything else still fails at once. getPublicEntry and getPublicSitemap join the unguarded-endpoint baseline beside getPublicChangelog; they are public for the same reason.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing