summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | merge from tridgeRonnie sahlberg2007-04-1814-52/+166
| |\ \ \ \ | | | | | | | | | | | | | | | | | | (This used to be ctdb commit e83db4d76ea498413ba4314e937d0ff298bd4cb6)
* | | | | | merge fetch1 changes from ronnieAndrew Tridgell2007-04-181-9/+49
|\| | | | | | |_|/ / / |/| | | | | | | | | (This used to be ctdb commit 906419acf121ea93661f91bde65cdcd890f70e63)
| * | | | enhance fetch1 test to verify that a lock is released when a client ↵Ronnie sahlberg2007-04-181-9/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminates while holding the lock and the next blocked waiting client is assigned the lock (This used to be ctdb commit 927228299280779664683fca04a7f76b55bef813)
| * | | | merge from tridgeRonnie sahlberg2007-04-1819-103/+132
| |\ \ \ \ | | | | | | | | | | | | | | | | | | (This used to be ctdb commit d1262efebfc6e51e676720d42443017563aaffe3)
* | | | | | started adding a cleaner daemon finish methodAndrew Tridgell2007-04-186-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit 5ef0cd83d7f24616dad85cece485b770376ecd45)
* | | | | | bit less verbose when client exitsAndrew Tridgell2007-04-181-1/+1
| |_|/ / / |/| | | | | | | | | | | | | | (This used to be ctdb commit a6477577beba71bd9185b968de43b763378f234b)
* | | | | - merge volkers debug changesAndrew Tridgell2007-04-1814-52/+166
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixed memory leaks in the 3 packet receive routines. The problem was that the ctdb_call logic would occasionally complete and free a incoming packet, which would then be freed again in the packet receive routine. The solution is to make the packet a child of a temporary context in the receive routine then free that temporary context. That allows other routines to keep or free the packet if they want to, while allowing us to safely free it (via a free of the temporary context) in the receive function (This used to be ctdb commit 304aaaa7235febbe97ff9ecb43875b7265ac48cd)
| * | | | Clean up the call_states correctlyVolker Lendecke2007-04-171-4/+4
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit 9fcc40a2ddd8f7f62bdd8b5ab71d182220e23af0)
| * | | | Be less verboseVolker Lendecke2007-04-171-1/+3
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit 7497b5a9031c471c25bf6029c436fd82788b415c)
| * | | | Some more debug and two memleak fixesVolker Lendecke2007-04-174-6/+21
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit 1e2802422794956827263265306952df5e69b377)
| * | | | typoVolker Lendecke2007-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit bf2799504498ae452bb7244ae3eb6a51797afe9b)
| * | | | Add timestamps to debug output.Volker Lendecke2007-04-175-4/+67
|/ / / / | | | | | | | | | | | | (This used to be ctdb commit 197a02384bd2ca42dfff4c0357175424d2321e9c)
* | | | add debug tracing to fetch_lockAndrew Tridgell2007-04-172-0/+21
| | | | | | | | | | | | | | | | (This used to be ctdb commit b58d2ae0e4ef3393a93724526f2aebc7529de14f)
* | | | more DEBUG() callsAndrew Tridgell2007-04-174-21/+25
| | | | | | | | | | | | | | | | (This used to be ctdb commit 79f3d63eec5652d87f13875c76e90ead81a26ad9)
* | | | moved cmdline.c to common codeAndrew Tridgell2007-04-1710-22/+22
| | | | | | | | | | | | | | | | (This used to be ctdb commit 32b31a6b91a19fc0c5225cb88c35cc1d14b4a6df)
* | | | use the common cmdline code in ctdbdAndrew Tridgell2007-04-178-68/+33
| | | | | | | | | | | | | | | | | | | | | | | | add a basic debug system with -dXX (This used to be ctdb commit af9f21cef79f888c57d3b50a23ca787c9567ce60)
* | | | fixed a missing idr remove, and check the types after idr_find()Andrew Tridgell2007-04-172-1/+36
| | | | | | | | | | | | | | | | (This used to be ctdb commit 74028de89d18bfedcea17415d6d6dc2f7c69b076)
* | | | make sure we notify ctdb when a node diesAndrew Tridgell2007-04-171-0/+4
| | | | | | | | | | | | | | | | (This used to be ctdb commit 598feb4fb9badcf329837965ad39e0f0dfe28498)
* | | | merge from volker and ronnieAndrew Tridgell2007-04-171-3/+3
|\| | | | | | | | | | | | | | | (This used to be ctdb commit ccc3bef713598f7df6d2e5d83618038d5f25fd68)
| * | | merge from volker to prevent some valgrind errorsRonnie sahlberg2007-04-171-3/+3
| |\ \ \ | | | | | | | | | | | | | | | (This used to be ctdb commit ab516a6dcc6871cdbf781892adcd2c77e4c631c2)
| | * | | ZERO_STRUCT writes one byte too many here.Volker Lendecke2007-04-171-3/+3
| |/ / / |/| | | | | | | | | | | (This used to be ctdb commit 3c5c433e5b92f8fe2193a6e5720e31e3eb6bc76b)
| * | | merge from tridgeRonnie sahlberg2007-04-173-5/+29
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit cf0948e73a10d7bc402a4ade4d9a87a7a247bdba)
* | | | update destination in a redirect replyAndrew Tridgell2007-04-171-0/+1
| | | | | | | | | | | | | | | | (This used to be ctdb commit b2836974ad270e823c630e3acf12327b53c37d88)
* | | | stop the client looping (temporary measure)Andrew Tridgell2007-04-171-0/+1
| | | | | | | | | | | | | | | | (This used to be ctdb commit 8e6a25f4c4a63145c0dee33453a0693dd395ee68)
* | | | start using ctdb_ltdb_lock_fetch_requeue()Andrew Tridgell2007-04-172-5/+27
| | | | | | | | | | | | | | | | (This used to be ctdb commit f89ab3a06b4677f56c92768c3a8ae5ec9f5abbc2)
| * | | merge from tridgeRonnie sahlberg2007-04-176-59/+76
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit 268a89db5886955e290538fdc08d3e94172e3527)
* | | | when we get a lmaster request, skip updating the header when we are also the ↵Andrew Tridgell2007-04-171-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | new dmaster (This used to be ctdb commit 6c48dcc5df7b855fc8e0774c9572c7b2af618348)
* | | | we should not lock in a normal ctdb_call(), as we want them to run concurrentlyAndrew Tridgell2007-04-171-11/+0
| | | | | | | | | | | | | | | | (This used to be ctdb commit f4c8c4b3d4c6fb8f1b8e770d1788816af74a7e1f)
* | | | - send the record header from the client to the daemon when doing aAndrew Tridgell2007-04-176-32/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fetch, to avoid the daemon re-reading it - suffix the database name with the node name so that testing on loopback doesn't result in a name collision in the database open (This used to be ctdb commit ad30a4db75450643ff146c40faa306a021de3dd2)
| * | | merge from tridgeRonnie sahlberg2007-04-173-1/+17
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit c4531b6de9189c3cd80862e29d2dd37aab36b9b4)
* | | | make sure we unlockAndrew Tridgell2007-04-171-0/+1
| | | | | | | | | | | | | | | | (This used to be ctdb commit c09054f878a88129abb6cce24c7bbf53f61a2648)
* | | | block SIGPIPE in the daemon to prevent a SIGPIPE on write to a dead socketAndrew Tridgell2007-04-171-0/+15
| | | | | | | | | | | | | | | | (This used to be ctdb commit 02c09dc07c9bed57ca3692b14e41ac8cca0a29f4)
* | | | now that both daemon and client access the database, it needs to be a real ↵Andrew Tridgell2007-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | disk file (This used to be ctdb commit 5159f3a61f41bbaf563edd8d901a6bf5bfee4e4e)
| * | | merge from tridgeRonnie sahlberg2007-04-1714-285/+197
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit e1ea91fa541a21c8164b8bd26b9c77053e8487cb)
* | | | tidyups in test codeAndrew Tridgell2007-04-172-6/+4
| | | | | | | | | | | | | | | | (This used to be ctdb commit 43061a4cf9b0995ebe6c86e27f7fc3aacb7bb23e)
* | | | - removed the non-daemon mode from ctdb, in order to simplify theAndrew Tridgell2007-04-1714-279/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. It may be added back later once everything is working nicely, or simulated using a in-process pipe instead of a unix domain socket - rewrote the ctdb_fetch_lock() code to follow the new design (This used to be ctdb commit 5024dd1f305fe1ecc262db2240c56f773b4f28f0)
* | | | merge from ronnieAndrew Tridgell2007-04-176-80/+81
|\| | | | | | | | | | | | | | | (This used to be ctdb commit e4ab90e741bfb6b0bb88abb818fe036475cdd0f6)
| * | | create symbols for fetch lock response statusRonnie sahlberg2007-04-173-5/+10
| | | | | | | | | | | | | | | | (This used to be ctdb commit d8243f474897dc65fb7286225b07bdf48b6faed0)
| * | | finalize fetch lock changes to get rid of the record handleRonnie sahlberg2007-04-174-17/+39
| | | | | | | | | | | | | | | | (This used to be ctdb commit 36c1e98a5533214d5507699dc5d8bdec35cb28c2)
| * | | do not use a ctdb_record_handle for client fetch_lock/store_unlock any moreRonnie sahlberg2007-04-174-63/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change ctdb_client_fetch_lock to return a status code instead of a record handle and make it unconditionally fill in data. change ctdb_client_store_unlock to take ctdb_db and key as arguments instead of a record handle update the ctdb_fetch.c test to use the clientside helpers for fetching and storing data (This used to be ctdb commit 22d5d40375e0135916c97945646f94119612615d)
* | | | merge from ronnieAndrew Tridgell2007-04-178-276/+62
|\| | | | | | | | | | | | | | | (This used to be ctdb commit d854392b04c46bcdd008cced5d16a03d81f97bd0)
| * | | remaning code to finish lock_fetch/store_unlock clientside helpersRonnie sahlberg2007-04-174-28/+83
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit edf1e1fea8500461a08cd2795251a5cc0bd10229)
* | | | merge from ronnieAndrew Tridgell2007-04-172-10/+10
|\ \ \ \ | | | | | | | | | | | | | | | (This used to be ctdb commit fcf3669c27691ddb383d1c585234622efa498d90)
* | | | | partial merge from volker (some overlaps removed)Andrew Tridgell2007-04-172-24/+54
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit c4747460a8e0017acfd2a97a632ecd9395562d4f)
* | | | | better error handling in ctdb_ltdb_lock_fetch_requeue()Andrew Tridgell2007-04-171-2/+19
| | | | | | | | | | | | | | | | | | | | (This used to be ctdb commit 1952be19f625dbe257050acebf468e7e6eb0da8c)
| | * | | initial change to remove store_unlock pdu and use tdb chainlock in the clientRonnie sahlberg2007-04-178-271/+49
| |/ / / | | | | | | | | | | | | (This used to be ctdb commit 87dd265d2c61125ca2fa922cfcf9371a234fff0c)
| * | | change some error printouts to make it easier to determine whether the error ↵Ronnie sahlberg2007-04-172-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | occured in the client or in the daemon (This used to be ctdb commit a7e42c2c56e38b4b58ede0ad45767695d704dac4)
| * | | merge from tridgeRonnie sahlberg2007-04-1721-365/+981
| |\ \ \ | |/ / / |/| | | | | | | (This used to be ctdb commit 1000ea33025b625e23e7065f95efad447c380c8c)
* | | | add an explanation of ctdb_ltdb_lock_fetch_requeue()Andrew Tridgell2007-04-171-0/+15
| | | | | | | | | | | | | | | | (This used to be ctdb commit 7c749315130a2bc87dcc07460d10dcb089ae4202)
* | | | add an explanation of how to use ctdb_lockwait()Andrew Tridgell2007-04-171-1/+10
| | | | | | | | | | | | | | | | (This used to be ctdb commit e0c9844ea6270ff506b0b5906aa6ccfcc3bcce7a)