Scaling

Where does your failover traffic land?

Exchange Online was down for almost a day in November, fifteen hours after a Teams failover that worked. A briefing on failover as a load event.

By TIS Partners · · 2 min

On 12 November Exchange Online went down for 23 hours and 50 minutes, with knock-on effects across the rest of Microsoft 365. Tony Redmond's account of Microsoft's preliminary post-incident report lists three conditions behind incident EX1550543. A Windows change deployed globally from July carried a defect that could cause lock contention under certain loads, leaving network gateway servers unresponsive. About fifteen hours before the outage, Teams had failed over from an alternative gateway to the primary gateway that Exchange Online also uses. And an unrelated problem had already taken roughly 14% of that gateway's server capacity offline.

None of the three was an outage by itself. That is the finding.

What did the failover assume?

That the destination had room. A failover is usually reviewed as an availability mechanism: did traffic move, did sessions survive. By that measure the Teams failover worked. It is also a load event at the destination, and the destination here was shared, short of capacity, and carrying a defect that needed a particular load to fire.

The question we ask in a review is arithmetic. For every failover path, take the destination's own peak, add the arriving traffic, and subtract whatever capacity is out of service on an ordinary day. Is the remainder positive? Has anyone run the system at that level? We covered the assumptions underneath that sum in how capacity models fail.

Why did rollback not help?

Because the defective change had shipped without incident more than three months earlier. Rollback protects against the last deploy. A latent defect (one that waits for a condition, here a load shape and, per the report, newer hardware with more cores than the systems used for load testing) outlives the window in which anyone suspects it. How far back can your change audit reach in the middle of an incident? Does the test fleet match the hardware that carries production?

Why did recovered servers fail again?

Servers that returned were met by the traffic that had accumulated while they were away, and failed again. Recovery under a backlog is a different regime from steady state: demand is everyone reconnecting at once, not the normal arrival rate. Capacity restored without admission control (a throttle that lets load back in at a rate the fleet can absorb) is handed straight to the overload that removed it.

The tradeoff has a price on each side. A dedicated failover destination for each service costs hardware that idles for years. A shared one is cheaper every month and couples one service's bad day to another's health. Either is defensible when someone chose it. The review question is whether anyone did, or whether the shared gateway is simply where the arrow happened to point.