Serialize member-security and members PUT calls to avoid CockroachDB conflict

Fixkamo-internal
Shipped
April 28, 2026 at 10:40 PM UTC
Author
kamo
Commit
491c922

Two concurrent writes to the same `members` row caused a serializable isolation conflict — member-security read the row while the members endpoint wrote to it (always via dateUpdated), aborting one transaction with error 40001. Sequential calls eliminate the overlap.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing