[ovs-dev] [PATCH v3] ovsdb-idl: fix index row setting with references.

Ben Pfaff blp at ovn.org
Mon Oct 30 20:11:33 UTC 2017


On Mon, Oct 30, 2017 at 12:21:49PM -0700, Han Zhou wrote:
> IDL index should be able to be used without having to be in a
> transaction. However, current implementation leads to crash if
> a reference type column is being set in an index row for querying
> purpose when it is not in a transaction. It is because of the
> uninitialized arcs and unnecessary updates of the arcs. This patch
> fixes it by identifying index rows by a magic uuid, so that when
> parsing index row, the arcs are not updated. A new test case is
> added to cover this scenario.
> 
> Signed-off-by: Han Zhou <zhouhan at gmail.com>

Thanks!  I applied this to master.


More information about the dev mailing list