Incident · Hard · Kafka · Resilience
Too many tiny shards
- SEV1
- 14:45 PDT
- INTERNAL CELL
The situation
Your streaming service runs in cells; one cell carries only internal workloads, including one with a very large number of very low-throughput shards. A cell manager balances shards across hosts and decides which hosts are healthy from status messages each host sends, listing every shard it holds. A routine deploy, taking hosts out one at a time, started this morning. In the afternoon the cell starts failing: healthy hosts are declared unhealthy, shards move around in waves, and the logging pipeline built on the cell falls hours behind.
The evidence
09:09deploy: rolling host replacement in one AZ14:40host-117: shards assigned very high; status message size very large14:45cell-manager: status from host-204 late → marked unhealthy, redistributing shards14:50shard redistribution rate spiking; connection provisioning overloaded15:10logs pipeline (built on the cell): backlog growing
Your call
Why does the cell manager mark healthy hosts as unhealthy?
Charts and logs are reconstructions. Aim for 90 seconds; going over costs nothing.