MutterCorp
MutterCorpNotice · Notícias
Programação·

What happens to MongoDB writes when the primary dies

I expected killing a MongoDB primary to cause a short gap in writes while the replica set sorted itself out. What I didn't expect was that whether there was a gap at all would depend almost entirely on how the primary left, not on how long an election takes. A hard crash and a polite request to step down produced completely different outcomes for the exact same three-node set, and I only found that out because I tested both rather than stopping at the first result. I ran this locally: three mon…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes