4 ms·
How do you debug broken instances?
by sargun 6y ago
How do you debug broken instances?
- x3n0ph3n3 6y agoShut them down and mount the volume on a new host.
- somethingAlex 6y agoTypically the goal is to architect the system such that you don't really care. If it's stateful, there's some other replica. Promote that and then spin up a new replica from a backup and roll it forward. If it's stateless then just kill it and spin up another.
- sargun 6y agoBut what if there is a bug that’s repeatable / pops up on the regular?
- bigiain 6y agoSame as a herd of cattle, if a bunch of them get sick in similar ways you change your process to one where you can find out why. But just one? Shoot it and bury it. Then keep an eye out on the rest in case it's a developing pattern.