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??
|