summaryrefslogtreecommitdiff
path: root/source4/cluster
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23806: update Samba4 with the latest ctdb code.Andrew Tridgell94-4262/+19141
This doesn't get the ctdb code fully working in Samba4, it just gets it building and not breaking non-clustered use of Samba. It will take a bit longer to update some of the calling ctdb_cluster.c code to make it work correctly in Samba4. Note also that Samba4 now only links to the client portion of ctdb. For the moment I am leaving the ctdbd as a separate daemon, which you install separately from http://ctdb.samba.org/. (This used to be commit b196077cbb55cbecad87065133c2d67198e31066)
2007-10-10r23805: this directory is not used any moreAndrew Tridgell5-436/+0
(This used to be commit 3121f914938e896f9e6c547c108a216b4b026c69)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell7-14/+7
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell1-3/+1
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell26-52/+26
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell34-34/+34
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell8-24/+16
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij1-1/+1
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTEDStefan Metzmacher1-0/+6
metze (This used to be commit 83a61a2892539b2bcfbdaac7ca169c99f2b4503a)
2007-10-10r22423: don't need popt hereAndrew Tridgell1-1/+0
(This used to be commit fd8594d62eed8f1fb8d702689b21eff297bb6593)
2007-10-10r22421: merged in latest ctdb changes from bzrAndrew Tridgell38-1104/+2020
(This used to be commit 3633f862b966866819c9a0a6ad0238a858e15e62)
2007-10-10r22237: this init fn doesn't exist yetAndrew Tridgell1-1/+0
(This used to be commit 6d9d62dca3cb6abad95c4ec9238da0b7bf32cefa)
2007-10-10r22234: merge test suite changes from bzr treeAndrew Tridgell11-289/+154
(This used to be commit d825f4e6cc96a365061805352a2df3818df2364e)
2007-10-10r22232: add a special message handler ID meaning "all messages please"Andrew Tridgell3-3/+8
This better fits the way Samba4 does message dispatch (This used to be commit 2c12f8e72fb999f4f66700291dd4d7f6f73a8eae)
2007-10-10r22231: merge from bzr ctdb treeAndrew Tridgell54-343/+8058
(This used to be commit 807b959082d3b9a929c9f6597714e636638a940e)
2007-10-10r22117: merged from bzrAndrew Tridgell5-12/+27
(This used to be commit d7f122df1dba30e46e84e294cccecb2e4ef82072)
2007-10-10r22114: merge from bzr treeAndrew Tridgell3-37/+407
(This used to be commit e60a485ff5c5d8deb7c0aea5e49d0c1d0ea4fa37)
2007-10-10r22098: merged from bzr treeAndrew Tridgell5-1/+45
(This used to be commit a57af1ff8234ab590ebf28b3316953bec880005c)
2007-10-10r22085: correct copyright on opendb_ctdb.cAndrew Tridgell1-1/+2
(This used to be commit 43ee3f8724164afc90a170c6da713b38d3995191)
2007-10-10r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for nowAndrew Tridgell1-1/+1
(This used to be commit e2fe45cf4073b68e2a1c6577928d0765e26f3267)
2007-10-10r22083: opendb backend to ctdb now passes simple testsAndrew Tridgell1-1/+6
(This used to be commit 141bd7ac39b66132f989d44d731512f939973f9e)
2007-10-10r22082: merged the ctdb changes from bzrAndrew Tridgell6-13/+746
added opendb ctdb backend from ronnie (This used to be commit b0da25cb79f860bfa14ba7a8419c7996d936292b)
2007-10-10r22072: in order to implement the opendb ctdb backend, I've found that theAndrew Tridgell1-0/+15
existing ctdb_call() mechanism isn't sufficient. The main problem is that the operations on the record need to be done with a lock held while a local posix file operation is happening. We can't use a ctdb_call callback function to do the actual file opens, renames, unlinks etc as the callback would run on the wrong node. So this commit adds the prototypes for two new ctdb API functions which will make a opendb backend easier. Volker will probably recognise these functions as they are basically the same as what he did in his earlier Samba clustering code :-) (This used to be commit d9a997fd390e4162c015435d1c703fb3a4978f2f)
2007-10-10r22070: merge in the changes from the bzr ctdb tree, and convert the brlockAndrew Tridgell8-67/+211
ctdb backend to use the updated multi-database API (This used to be commit 44dcac9e4d81bfc078512248967b6240db9d1bd8)
2007-10-10r21669: Fix --enable-dso buildJelmer Vernooij1-7/+4
(This used to be commit 7cf9d07c88b0c81777bb9363d445ac657982a366)
2007-10-10r21256: - msg_type is not needed in the cluster messaging APIAndrew Tridgell8-12/+23
- merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
2007-10-10r21233: first version of samba4 messaging using ctdb is working. This means weAndrew Tridgell3-5/+79
should now work on a real cluster, and not just a localhost simulator (This used to be commit f05072ad74fb08fd906bc500c5e89930bcc3387f)
2007-10-10r21232: added a raw ctdb messaging api - allowing ctdb applications to takeAndrew Tridgell6-14/+133
advantage of the ctdb messaging layer for their own data (This used to be commit b288ba05e5dc2aa5c8cd26eaee1c41b12e4996da)
2007-10-10r21230: added the hooks needed in the cluster layer and the messaging code forAndrew Tridgell6-10/+117
handling messages to remote nodes. Implemented dummy functions in the 'local' cluster backend for the messaging hooks, and modified the messaging layer to check if the destination is remote and redirect messages via the cluster layer (This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
2007-10-10r21173: - keep the ctdb queue when reconnecting (this will need to be moreAndrew Tridgell1-9/+2
complex once we have code for changing the number of nodes) - fixed a ctdb/tcp bug in the handling of multiple packets waiting on a socket (This used to be commit faf9a1146cb5f33228a11e01b66cb3cbe18bd05d)
2007-10-10r21172: fixed a commentAndrew Tridgell1-1/+2
(This used to be commit 2d6e082e813e18dcd43bc8d9a8f445f77e0a8452)
2007-10-10r21140: enable the pending lock notify code in the ctdb backend so that timedAndrew Tridgell1-36/+80
locks retry immediately when another blocking lock is removed. (This used to be commit 169920a5341392e84d5b5fb5f39c2b9d5243bb3b)
2007-10-10r21045: every call in brlock_ctdb ended up neededing a 32 bit status code, soAndrew Tridgell4-91/+33
rather than allocating a reply_data field each time, I have changed the ctdb_call API to include a status code. That greatly simplifies use of the API. (This used to be commit 70c3acaf8876fa5712e2135df234fe3bc1e32e77)
2007-10-10r21044: - merge struct ctdb_call API changes from bzr treeAndrew Tridgell3-132/+122
- convert brlock code to new API (This used to be commit cf317480cb715dbaab87c06f824a1db14b09b298)
2007-10-10r20991: use relative includes for ctdb headers. This works with bothAndrew Tridgell9-17/+9
standalone and built-in ctdb (This used to be commit 3e5f29bddfd83914eeec706367b2b1bd30aba31e)
2007-10-10r20948: a very simple example on how to setup and test ctdbAndrew Tridgell7-0/+73
(This used to be commit 8b5d7d66c91d2bee971373f7da05d1641c556cbc)
2007-10-10r20946: fixed another couple of bugs in the brlock ctdb backend. It nowAndrew Tridgell1-28/+60
survives very long random locktest runs. (This used to be commit 53fd66340abd6f637acd4feb7c23c046df110a94)
2007-10-10r20945: fixed the bug causing locktest to fail with the ctdb backend after aAndrew Tridgell5-93/+10
couple of hundred opertations. Also removed a lot of the debug code I was using to track this down. (This used to be commit 7622e7b4b2694ec14062d0f6de035b946106a6aa)
2007-10-10r20944: if a call has been destroyed before a reply comes in then discard theAndrew Tridgell1-0/+4
reply (This used to be commit 05d19af38c1e75ba65ed2755c6087df1f937ee2a)
2007-10-10r20943: use offsetof() instead of sizeof() - 1 for the packet lengthAndrew Tridgell1-14/+18
calculations. It will be interesting to see how portable this is. The advantage over the sizeof() method is that it avoids padding problems after the data[1] array. That was causing us to get valgrind errors. (This used to be commit fd8e46043903d3650f8f33dcab165800f6869b1d)
2007-10-10r20919: add a function cluster_tdb_tmp_open() which can be used in a clusterAndrew Tridgell6-5/+69
environment for subsystems that have not yet been converted to use ctdb to get a shared temporary tdb (This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
2007-10-10r20918: a bit more debugging, and remove the hackish /dev/null writes I usedAndrew Tridgell2-44/+12
to track down some uninitialised memory (sometimes valgrind gets the offset wrong, writing to /dev/null 1 byte at a time avoids this) (This used to be commit 4bf741b567417231c29606904aea2af0a91c941c)
2007-10-10r20901: - not all compiler like uint8_t data[0] elements!Stefan Metzmacher2-13/+13
- this fix looks really ugly but I don't know a better solution... if we would use uint8_t *data; then we would send the pointer value also in the network packet and we would need to initialize s->data = ((void *)(&s->data) + 1; to make the memcpy statements work as they're currently, so we use uint8_t data[1] in the struct definition ... tridge: please review careful! hopefully fix the build on solaris and HPUX metze (This used to be commit 015097677c8a65e9f5a4367f4f89193a4b2de76b)
2007-10-10r20900: fix compiler warningsStefan Metzmacher2-1/+4
metze (This used to be commit cb59eae91966e3e493c3c992d2b96965d17dac17)
2007-10-10r20896: make the maximum lacount configurable in smb.confAndrew Tridgell5-3/+22
at the moment the brlock_ctdb backend will sometimes fail after dmaster migrations. So to pass tests this needs to be set high. Thats a priority to fix. (This used to be commit 45f5c272f366f6a793941d97c9522c5b2b0cb639)
2007-10-10r20893: brlock notifies are currently disabled in the ctdb backend. Use a #ifAndrew Tridgell1-6/+13
instead of c++ comments (This used to be commit a3beff12a522a9b9e0088365d8f2740a1785bff5)
2007-10-10r20892: add parameter for enabling ctdb self connectAndrew Tridgell1-2/+5
(This used to be commit ba3ce8abe3457a1245fd4746af780c6055d39425)
2007-10-10r20889: import ctdb cluster backend from bzrAndrew Tridgell17-1/+3733
it will be interesting to see how the build farm handles this (This used to be commit 53be449630bd67d649a9e70cc7e25a9799c0616b)
2007-10-10r20888: local cluster backendAndrew Tridgell1-0/+58
(This used to be commit 5530e6effe03615499fbdc5ff2fe663ffa0223a9)
2007-10-10r20887: allow the registration of multiple cluster backendsAndrew Tridgell3-6/+66
this is in preparation for ctdb (This used to be commit 489f022175a1022bcca8053116362825daae5e40)