summaryrefslogtreecommitdiff
path: root/lib/async_req
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-03 17:29:54 +0100
committerMichael Adam <obnox@samba.org>2010-02-12 23:12:09 +0100
commit16bc6ba2268e3660d026076264de8666356e00bf (patch)
treebddad7cd15074c55500f031ad4a506a4b9eed7f5 /lib/async_req
parentb13dd17840a598ae3441e48b130a2b2a2b940572 (diff)
downloadsamba-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 'lib/async_req')
0 files changed, 0 insertions, 0 deletions