Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> issue about write sync in majority followers

ch huang 2013-09-04, 06:54
Neha Narkhede 2013-09-04, 14:51
ch huang 2013-09-05, 01:59
Neha Narkhede 2013-09-05, 02:06
Copy link to this message
Re: issue about write sync in majority followers
The follower doesn't persist in the beginning - not until it's sure it had the consensus of the quorum. Also, the client only talks to the node it is connected to.

The general algorithm you're looking for here is Paxos. You may want to look that up.

Sent from my iPhone

> On Sep 3, 2013, at 11:54 PM, ch huang <[EMAIL PROTECTED]> wrote:
> hi,all:
>          i am very confused about the write sync  process,what i thank is
> ,client connect to one of follower ,send a update request to it,and the
> follower persisted the update to it's disk ,then forward this request to
> the leader,the leader broadcast it to all it's follower, if the leader get
> responce of the majority of all follower say the update succeed, it commits
> the update ,and the client will get success response (from who? the leader
> or the follower who connected?)
> so before leader persisted the change ,this change should be persisted on
> majority of followers ?
> what i think is right??
Flavio Junqueira 2013-09-06, 06:29
ch huang 2013-09-06, 07:14
Edward Ribeiro 2013-09-08, 15:20