KamoCRM

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

Fixkamo-internal
Shipped
28 ஏப்ரல், 2026 அன்று 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?

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