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

Elluru, Krishna Mohan elluru.kri.mohan at hpe.com
Mon Apr 4 02:51:25 UTC 2016


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-bounces at openvswitch.org] On Behalf Of Ryan Moats
Sent: Sunday, April 03, 2016 1:37 AM
To: Ben Pfaff <blp at ovn.org>
Cc: dev at openvswitch.org
Subject: Re: [ovs-dev] [PATCH] ovsdb: Force columns that contain weak references to be immutable.



"dev" <dev-bounces at openvswitch.org> wrote on 04/02/2016 11:46:30 AM:

> From: Ben Pfaff <blp at ovn.org>
> To: dev at openvswitch.org
> Cc: Ben Pfaff <blp at 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-bounces at 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.mohan at hpe.com>
> Signed-off-by: Ben Pfaff <blp at 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 <rmoats at us.ibm.com> _______________________________________________
dev mailing list
dev at openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list