How do you stop a logging column from taking down order creation?
A 32-bit logging column with no foreign key overflowed and failed order creation for 54 minutes. Check columns by what they hold, not by declared keys.
2 min readDEV GroupEnterprise product teams · Operations
The log write failed the order
Check integer columns by the values they store, not by the keys declared on them, and keep a logging write from failing the order it records. A write-up on endoblog.dev, published 13 November 2026, shows the gap. On 2 November 2026, Clickpost's order creation was down for 54 minutes. A logging table deprecated in February 2026 still had a 32-bit signed integer column. That column stored IDs from another table and had no declared foreign key. Once those IDs passed 2,147,483,647, the synchronous log write failed, and the whole order-creation request returned 5xx for carriers on the legacy Python service. The newer Kotlin service had removed the write and was unaffected. Overflow monitoring covered only primary-key and foreign-key columns, so it never looked at that column. Clickpost named three contributing factors: incomplete decommissioning, gaps in capacity monitoring, and logging in the critical path.
Check the column, not the constraint
Pick capacity-check columns by type and content, not by the constraint declared on them. Any integer column that holds an ID, or a user-supplied integer, belongs on that list, including a column with no primary key and no foreign key. Monitor those columns, and widen them to 64-bit. Monitoring that only covers declared keys misses the column that fails. Clickpost's fix: a table cannot be marked deprecated while code still writes to it. Deprecated needs evidence that the writes stopped: no writer left in the code, and no write left in production. Until both are true, the table is still on the path.
A log write cannot fail the order
Keep non-essential writes out of the request's critical path. Logging, audit, and analytics can fail on their own. They should not fail the request the customer is waiting on. Clickpost's fix: a logging failure can no longer fail an order creation request. List every integer column that holds an ID or a user-supplied integer, and confirm it is 64-bit and monitored, whether or not it is a key. Confirm a failed write to a log, an audit trail, or an analytics store cannot fail the request. Confirm every table marked deprecated has no writer left in code and no write left in production. Columns checked by what they hold, a log write that cannot fail an order, and a deprecation proven by the absence of writes are software work, and that is where we fit.
- Related: running a schema migration without taking production down
- Related: paging on what customers lose, not on parts
- Related: catching a data feed that has quietly gone stale
- Product engineering
- A logging write that can fail order creation? Start a conversation
Sources
- Clickpost's Overflow Check Skipped the Column With No Foreign Key. endoblog.dev. November 13, 2026.
Was this useful?
Related notes
Reliability2 min read
How do you stop an expired certificate from taking a service down?
Four services broke on expired or mis-chained TLS certificates in November 2026. Inventory every certificate, renew automatically, and check from outside.
- TLS certificates
- Monitoring
- Resilience
Product engineering4 min read
How do you stop a mobile update after some phones already installed it?
Google halted Authenticator 5.2.2 after it crashed on iOS 27. Pause the rollout, and ship the fix as a new version phones can install.
- Rollouts
- Resilience
- Monitoring
Payments3 min read
What should checkout do when one payment method fails and the processor is still up?
Stripe and Mollie reported Apple Pay, MobilePay, and one iDEAL bank failing in November 2026. Hide that method and retry the same payment.
- Checkout
- Retail
- Resilience
- Monitoring