summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb
AgeCommit message (Collapse)AuthorFilesLines
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 Tridgell2-2/+32
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 Tridgell16-0/+3729
it will be interesting to see how the build farm handles this (This used to be commit 53be449630bd67d649a9e70cc7e25a9799c0616b)