Re: [ovs-dev] [PATCH 2/2] ovsdb raft: Precheck prereq before proposing commit.

2019-03-07 Thread Ben Pfaff
On Mon, Mar 04, 2019 at 01:53:38PM -0800, Han Zhou wrote: > On Mon, Mar 4, 2019 at 1:31 PM Ben Pfaff wrote: > > > > On Fri, Mar 01, 2019 at 10:56:37AM -0800, Han Zhou wrote: > > > From: Han Zhou > > > > > > In current OVSDB Raft design, when there are multiple transactions > > > pending, either f

Re: [ovs-dev] [PATCH 2/2] ovsdb raft: Precheck prereq before proposing commit.

2019-03-04 Thread Han Zhou
On Mon, Mar 4, 2019 at 1:31 PM Ben Pfaff wrote: > > On Fri, Mar 01, 2019 at 10:56:37AM -0800, Han Zhou wrote: > > From: Han Zhou > > > > In current OVSDB Raft design, when there are multiple transactions > > pending, either from same server node or different nodes in the > > cluster, only the fir

Re: [ovs-dev] [PATCH 2/2] ovsdb raft: Precheck prereq before proposing commit.

2019-03-04 Thread Ben Pfaff
On Fri, Mar 01, 2019 at 10:56:37AM -0800, Han Zhou wrote: > From: Han Zhou > > In current OVSDB Raft design, when there are multiple transactions > pending, either from same server node or different nodes in the > cluster, only the first one can be successful at once, and following > ones will fa

[ovs-dev] [PATCH 2/2] ovsdb raft: Precheck prereq before proposing commit.

2019-03-01 Thread Han Zhou
From: Han Zhou In current OVSDB Raft design, when there are multiple transactions pending, either from same server node or different nodes in the cluster, only the first one can be successful at once, and following ones will fail at the prerequisite check on leader node, because the first one wil