Failure#f1
A partition after provider maintenance persisted until a rolling restart, which also erased the evidence of its cause
- Trigger
On a Tuesday at 1100 UTC the hosting provider carried out planned maintenance to move Yeller's servers onto newer network infrastructure. Once that work ended, at 1200 UTC, Yeller's internal networking was split into three different partitions; a later passage calls it a 4 way network partition.
Section: What Went Wrong? | Near: 18 hours of a 4 way network partition
- How it failed
The partitions stayed in place through the provider's investigation and the author's own steps, such as restarting firewall software. Exception writes ran into Riak write timeouts and had to be reprocessed by hand, and the store for user and billing information could not perform writes. The root cause is unknown: the author suspects cached routes at some level, since the IP addresses had not changed, and says the restart that cured it wiped whatever machine state would have shown the cause.
Section: What Went Wrong? | Section: What impact did it have? | Near: as whatever corrupt machine state caused the issue
- Why defences did not hold
The author was very convinced the fault lay with the hosting provider, because the IP addresses were unchanged, and so did not restart the cluster until the provider suggested it at 0804 UTC the next day, after some 17 hours of investigation. Exception writes that timed out needed human intervention to be processed. Monitoring did work: the author was paged within seconds of the partition.
Section: What Went Wrong? | Section: What impact did it have? | Near: I was paged within seconds of the network
- Impact
Exactly 42 exceptions were delayed, some by up to 7 hours. Customers could not sign up, change or reset passwords, change billing or invite users to projects. The site stayed up, exceptions could be read and were still being recorded, and as far as the author can tell none were dropped. He counts nearly 19 hours of delayed processing, during which he posted only a few status updates.
Section: What impact did it have? | Near: Yeller had nearly 19 hours of delayed processing | Near: As far as I can tell, no exceptions
- Fix
A careful rolling restart of the cluster resolved the partition at 0930UTC. The status page moved to statuspage.io and was hooked up to the internal chat bot, and the web UI shows system status on every page once a user is logged in. In progress: investigating retry logic so timed-out exception writes need no human. Planned: a recurring alarm to post customer updates during an outage, and leaving at least one machine in its bad state, out of the load balancers, so the root cause can be found.
Near: After a careful rolling restart of the cluster | Section: Where does Yeller go from here?