Re: [ovs-dev] [PATCH] ovsdb raft: Sync commit index to followers without delay.

2019-03-18 Thread Ben Pfaff
On Fri, Mar 15, 2019 at 03:37:20PM -0700, Han Zhou wrote: > On Fri, Mar 15, 2019 at 3:30 PM Ben Pfaff wrote: > > > > On Thu, Mar 14, 2019 at 10:13:56AM -0700, Han Zhou wrote: > > > From: Han Zhou > > > > > > When update is requested from follower, the leader sends AppendRequest > > > to all

Re: [ovs-dev] [PATCH] ovsdb raft: Sync commit index to followers without delay.

2019-03-15 Thread Han Zhou
On Fri, Mar 15, 2019 at 3:37 PM Han Zhou wrote: > > On Fri, Mar 15, 2019 at 3:30 PM Ben Pfaff wrote: > > > > On Thu, Mar 14, 2019 at 10:13:56AM -0700, Han Zhou wrote: > > > From: Han Zhou > > > > > > When update is requested from follower, the leader sends AppendRequest > > > to all followers

Re: [ovs-dev] [PATCH] ovsdb raft: Sync commit index to followers without delay.

2019-03-15 Thread Han Zhou
On Fri, Mar 15, 2019 at 3:30 PM Ben Pfaff wrote: > > On Thu, Mar 14, 2019 at 10:13:56AM -0700, Han Zhou wrote: > > From: Han Zhou > > > > When update is requested from follower, the leader sends AppendRequest > > to all followers and wait until AppendReply received from majority, and > > then it

Re: [ovs-dev] [PATCH] ovsdb raft: Sync commit index to followers without delay.

2019-03-15 Thread Ben Pfaff
On Thu, Mar 14, 2019 at 10:13:56AM -0700, Han Zhou wrote: > From: Han Zhou > > When update is requested from follower, the leader sends AppendRequest > to all followers and wait until AppendReply received from majority, and > then it will update commit index - the new entry is regarded as

[ovs-dev] [PATCH] ovsdb raft: Sync commit index to followers without delay.

2019-03-14 Thread Han Zhou
From: Han Zhou When update is requested from follower, the leader sends AppendRequest to all followers and wait until AppendReply received from majority, and then it will update commit index - the new entry is regarded as committed in raft log. However, this commit will not be notified to