IBM / ovsdb-etcd

Implementation of OVSDB over etcd
17 stars 7 forks source link

Support OVSDB references #266

Open roytman opened 3 years ago

roytman commented 3 years ago

OVSDB supports 2 types of cross-table references: strong reference and **weak"" one.

"refTable" constraints are "deferred" constraints: they are enforced only at transaction commit time RFC 7047 allows columns that contain weak references to be immutable. Since version 2.6, ovsdb-server forces columns that contain weak references to be mutable.

OVSDB schema specifies the "isRoot" boolean attribute per-table, which is used to determine whether rows in the table require strong references from other rows to avoid garbage collection.

This is a "deferred" action: unreferenced rows in the table are deleted just before transaction commit.

roytman commented 3 years ago

https://datatracker.ietf.org/doc/html/rfc7047#page-22

roytman commented 3 years ago

Partially implement by https://github.com/IBM/ovsdb-etcd/pull/281, https://github.com/IBM/ovsdb-etcd/pull/275