1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

4 Commits

Author SHA1 Message Date
Volker Lendecke
8428f48708 Add includes required on FreeBSD
Signed-off-by: Michael Adam <obnox@samba.org>

(This used to be ctdb commit be5c3a57df39d85fbb7ee922924787340e2b0595)
2012-02-13 16:23:17 +01:00
Rusty Russell
9f6d34150d libctdb: fix writerecord() to actually write the record.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>


(This used to be ctdb commit 680ee6afaa89f21115a1bf33a8b9e7e92084a1a1)
2010-06-21 14:45:37 +09:30
Rusty Russell
662807b807 libctdb: always check header hasn't changed on local tdb
The code on which this is based could alter the header: a normal client
can't.  If we use this differently later we can change this.  For the
moment it's a nice extra check.

We optimize out the record write altogether when the record hasn't
changed, rather than just suppressing the seqnum update.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>


(This used to be ctdb commit 2638dbae7bf1a35ed37802e35e179e435a5d622a)
2010-06-08 18:10:36 +09:30
Rusty Russell
1dc7f2c4f8 libctdb: first cut, supports getrecmaster only
This is a completely standalone library using only ctdb_protocol.h.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Header from folded patch 'libctdb-message-handling.patch':

libctdb: add message handling to libctdb.

Now clients can send and receive ctdb messages.


(This used to be ctdb commit 732cf6ead4aa2fbefc2b81328171f52c8d935341)
2010-05-21 12:07:41 +09:30