diff options
author | Michael Adam <obnox@samba.org> | 2009-12-03 17:29:54 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-02-12 23:12:09 +0100 |
commit | 16bc6ba2268e3660d026076264de8666356e00bf (patch) | |
tree | bddad7cd15074c55500f031ad4a506a4b9eed7f5 /librpc/ndr/ndr_misc.c | |
parent | b13dd17840a598ae3441e48b130a2b2a2b940572 (diff) | |
download | samba-16bc6ba2268e3660d026076264de8666356e00bf.tar.gz samba-16bc6ba2268e3660d026076264de8666356e00bf.tar.bz2 samba-16bc6ba2268e3660d026076264de8666356e00bf.zip |
s3:dbwrap_ctdb: start rewrite of transactions using the global lock (g_lock)
This simplifies the transaction code a lot:
* transaction_start essentially consists of acquiring a global lock.
* No write operations at all are performed on the local database
until the transaction is committed: Every store operation is just
going into the marshall buffer.
* The commit operation calls a new simplified TRANS3_COMMIT control
in ctdb which rolls out thae changes to all nodes including the
node that is performing the transaction.
Michael
Diffstat (limited to 'librpc/ndr/ndr_misc.c')
0 files changed, 0 insertions, 0 deletions