Yes, that's what this patch proposes. Comments welcome.
On Mon, Apr 04, 2016 at 02:51:25AM +0000, Elluru, Krishna Mohan wrote: > HI Ben, > So, the fix is instead of throwing error, we apply mutable:true > property to the weak reference column, though the schema passed it as > mutable:false? > > Thanks > Krishna Mohan > > -----Original Message----- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Ryan Moats > Sent: 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 <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 contain weak > > references to be immutable. > > Sent by: "dev" <dev-boun...@openvswitch.org> > > > > 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" <elluru.kri.mo...@hpe.com> > > Signed-off-by: Ben Pfaff <b...@ovn.org> > > --- > > AUTHORS | 1 + > > ovsdb/column.c | 24 +++++++++++++++--------- > > ovsdb/ovsdb-server.1.in | 6 ++++++ > > python/ovs/db/schema.py | 8 +++++++- > > tests/ovsdb-schema.at | 19 ++++++++++++++++++- > > 5 files changed, 47 insertions(+), 11 deletions(-) > > Acked-by: Ryan Moats <rmo...@us.ibm.com> > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev