ovsdb: Implement a "lock" feature in the database protocol.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Jul 2011 17:24:17 +0000 (10:24 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jul 2011 23:50:09 +0000 (16:50 -0700)
commitda897f41cd795e325ec5ce773a70a819100bd26e
tree23635409122e1f95c3a73af8b8f50b8495ab0ef6
parente317253b1391c7b0a84c8dd51eaf1f3cc16eff56
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.
13 files changed:
ovsdb/SPECS
ovsdb/execution.c
ovsdb/jsonrpc-server.c
ovsdb/jsonrpc-server.h
ovsdb/ovsdb-server.c
ovsdb/ovsdb-tool.c
ovsdb/ovsdb.h
ovsdb/server.c
ovsdb/server.h
ovsdb/trigger.c
tests/test-ovsdb.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml