Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-11 Thread Ben Pfaff
sage- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Monday, April 11, 2016 8:46 PM > To: Elluru, Krishna Mohan <elluru.kri.mo...@hpe.com> > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak > references to be immutable. >

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-11 Thread Elluru, Krishna Mohan
ch.org Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable. On Sun, Apr 10, 2016 at 10:26:37PM -0700, Ben Pfaff wrote: > On Mon, Apr 04, 2016 at 04:01:43AM +, Elluru, Krishna Mohan wrote: > > HI Ben, > > How does column which is wea

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-11 Thread Ben Pfaff
On Sun, Apr 10, 2016 at 10:26:37PM -0700, Ben Pfaff wrote: > On Mon, Apr 04, 2016 at 04:01:43AM +, Elluru, Krishna Mohan wrote: > > HI Ben, > > How does column which is weak reference and also configured as an > > Index? If it is mutable, and the corresponding UUID going away(deletion of

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-11 Thread Ben Pfaff
ns...@hpe.com> > Cc: Elluru, Krishna Mohan <elluru.kri.mo...@hpe.com>; dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak > references to be immutable. > > On Mon, Apr 04, 2016 at 10:38:40PM +, Ansari, Shad wrote: > > &g

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-10 Thread Elluru, Krishna Mohan
-Original Message- From: Ben Pfaff [mailto:b...@ovn.org] Sent: Monday, April 11, 2016 11:00 AM To: Ansari, Shad <shad.ans...@hpe.com> Cc: Elluru, Krishna Mohan <elluru.kri.mo...@hpe.com>; dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-10 Thread Ben Pfaff
On Mon, Apr 04, 2016 at 10:38:40PM +, Ansari, Shad wrote: > > > > HI Ben, > > How does column which is weak reference and also configured as > > an Index? If it is mutable, and the corresponding UUID going away(deletion > > of record) leaves column value as NULL right? And what would be

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-10 Thread Ben Pfaff
> From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Elluru, Krishna > Mohan > Sent: Monday, April 04, 2016 9:32 AM > To: Ben Pfaff <b...@ovn.org> > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak > references to

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-10 Thread Ben Pfaff
On Mon, Apr 04, 2016 at 04:01:43AM +, Elluru, Krishna Mohan wrote: > HI Ben, > How does column which is weak reference and also configured as an > Index? If it is mutable, and the corresponding UUID going away(deletion of > record) leaves column value as NULL right? And what would be

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-10 Thread Elluru, Krishna Mohan
gt; Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable. HI Ben, How does column which is weak reference and also configured as an Index? If it is mutable, and the corresponding UUID going away(deletion of record)

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-04 Thread Ansari, Shad
> > HI Ben, > How does column which is weak reference and also configured as > an Index? If it is mutable, and the corresponding UUID going away(deletion > of record) leaves column value as NULL right? And what would be the > behavior if the table is a Root table also? > I am listing down,

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-03 Thread Elluru, Krishna Mohan
, Krishna Mohan <elluru.kri.mo...@hpe.com> Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable. Yes, that's what this patch proposes. Comments welcome. On Mon, Apr 04, 2016 at 02:51:25AM +, Elluru, Krishna Mohan wrote: &g

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-03 Thread Ben Pfaff
s-dev] [PATCH] ovsdb: Force columns that contain weak > references to be immutable. > > > > "dev" <dev-boun...@openvswitch.org> wrote on 04/02/2016 11:46:30 AM: > > > From: Ben Pfaff <b...@ovn.org> > > To: dev@openvswitch.org > > Cc:

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-03 Thread Elluru, Krishna Mohan
: Sunday, April 03, 2016 1:37 AM To: Ben Pfaff <b...@ovn.org> Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable. "dev" <dev-boun...@openvswitch.org> wrote on 04/02/2016 11:46:30 AM: > From: Ben Pfaff

Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-02 Thread Ryan Moats
"dev" <dev-boun...@openvswitch.org> wrote on 04/02/2016 11:46:30 AM: > From: Ben Pfaff <b...@ovn.org> > To: dev@openvswitch.org > Cc: Ben Pfaff <b...@ovn.org> > Date: 04/02/2016 11:46 AM > Subject: [ovs-dev] [PATCH] ovsdb: Force columns that contai

[ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.

2016-04-02 Thread Ben Pfaff
An immutable weak reference is a hole in the constraint system: if referenced rows are deleted, then the weak reference needs to change. Therefore, force columsn that contain weak references to be mutable. Reported-by: "Elluru, Krishna Mohan" Signed-off-by: Ben Pfaff