diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-07-26 10:24:17 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-07-26 16:50:09 -0700 |
| commit | da897f41cd795e325ec5ce773a70a819100bd26e (patch) | |
| tree | 23635409122e1f95c3a73af8b8f50b8495ab0ef6 /vswitchd | |
| parent | e317253b1391c7b0a84c8dd51eaf1f3cc16eff56 (diff) | |
| download | openvswitch-da897f41cd795e325ec5ce773a70a819100bd26e.tar.gz | |
ovsdb: Implement a "lock" feature in the database protocol.
This provides clients a way to coordinate their access to the database.
This is a voluntary, not mandatory, locking protocols, that is, clients
are not prevented from modifying the database unless they cooperate with
the locking protocol. It is also not related to any of the ACID properties
of database transactions. It is strictly a way for clients to coordinate
among themselves.
The following commit will introduce one user.
Diffstat (limited to 'vswitchd')
| -rw-r--r-- | vswitchd/vswitch.ovsschema | 4 | ||||
| -rw-r--r-- | vswitchd/vswitch.xml | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 315affcb8..ca61a2cd6 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,6 +1,6 @@ {"name": "Open_vSwitch", - "version": "5.1.0", - "cksum": "154459795 14545", + "version": "5.2.0", + "cksum": "434778864 14545", "tables": { "Open_vSwitch": { "columns": { diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 5b216a556..e72401fdc 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -2192,6 +2192,17 @@ disconnected.</dd> </dl> <dl> + <dt><code>locks_held</code></dt> + <dt><code>locks_waiting</code></dt> + <dt><code>locks_lost</code></dt> + <dd> + Space-separated lists of the names of OVSDB locks that the + connection holds, is currently waiting to acquire, or has had + stolen by another OVSDB client, respectively. Key-value pairs for + lists that would be empty are omitted. + </dd> + </dl> + <dl> <dt><code>n_connections</code></dt> <dd> <p> |
