Microsoft blames monster email outage on software defect introduced in July fix(theregister.com)
441 points by Bender 13 days ago | 337 comments
tl;dr: Microsoft's November 12 outage traced back to a July update to M365 network gateway servers containing a latent defect that caused lock contention and resource exhaustion, triggered when a Teams failover coincided with 14% of gateway capacity being offline. Load testing missed the bug because it focused on weaker hardware with fewer cores, while the defect worsened on newer, higher-core machines. A rollback wasn't feasible due to the patch's age, so engineers had to develop and gradually deploy a patch-for-the-patch, with Exchange Online hit hardest since it can't fail over from that gateway.
HN Discussion:
  • ↑Big outages at major firms predictably follow this pattern, comparable to grid black starts
  • •Questions whether AI-generated code or skill atrophy contributed to the failure
  • ↓Microsoft should have shed load or dropped connections to recover gracefully instead of cascading failure
  • ↓Surprised Windows is being used for critical network infrastructure at this layer
  • ~Questions the acceptability of load testing on weaker hardware than production