server: add a new control CTDB_CONTROL_TRANS3_COMMIT
authorMichael Adam <obnox@samba.org>
Thu, 3 Dec 2009 16:59:49 +0000 (17:59 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 11 Dec 2009 23:43:26 +0000 (00:43 +0100)
commitf66428f9d2013080a414404c1ba6117888352fd6
treec7f5185d8c56f6f8428793ad919d708c0c09fe02
parentaf6656f2844d8fd72204a70358c9d589dbe1bd34
server: add a new control CTDB_CONTROL_TRANS3_COMMIT

This is a simplified version of the trans2 commit control:
It just rolls out the marshall buffer to all active nodes.

It is the main ctdbd part of the re-implementation of the
persistent transactions. The client code is changed to
take a global lock to start a transactions and store into
the marshal buffer instead of writing to the local tdb
under a local transaction.

The old transaction implementation is going to be
removed in a later commit.

Michael
include/ctdb_private.h
server/ctdb_control.c
server/ctdb_persistent.c