summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap_tdb2.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-13dbwrap_tdb2: fix a C++ warning by making implicit cast explicitMichael Adam1-3/+3
Michael (This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-12dbwrap: add dbwrap_tdb2 backendStefan Metzmacher1-0/+1265
This backend can be used untill ctdb knows about real transactions. It stores a master tdb in a shared location and a readonly copy on the local harddisk. Reads are always on the local tdb and writes always on both. Change notify messages are send to all message context, which ask for them. With the notifies it's possible to just update the changed records, instead of copying all records (which is the fallback). You need to configure: dbwrap:use_tdb2=yes dbwrap_tdb2:master directory=/some/shared/path dbwrap_tdb2:local directory=/var/lib/samba metze (This used to be commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)