what happend when Redis cluster partition to two set of equal node -


from cluster-tutorial, there case partition , understand case

take example our 6 nodes cluster composed of a, b, c, a1, b1, c1, 3 masters , 3 slaves. there client, call z1. after partition occurs, possible in 1 side of partition have a, c, a1, b1, c1, , in other side have b , z1.

but happen when partititioned first side a,b,c1 , second side a1, b1, c. guess both sides become master , every client connect both side become writable. , data consistent lost. case

set k 1 //network partition //client connect first side inc k (now k 2) //client b connect second side inc k (now k 2) //partition heal k (what value?)

  1. what happen when redis cluster partition this?
  2. what happen when partition heal? value of k in case?


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -