]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
18 years agomerge from volker
Ronnie sahlberg [Thu, 12 Apr 2007 00:52:19 +0000 (10:52 +1000)] 
merge from volker

(This used to be ctdb commit c59e92829364aefdd4f8f4972b47135faca69006)

18 years agomerge from vl
Andrew Tridgell [Thu, 12 Apr 2007 00:51:55 +0000 (10:51 +1000)] 
merge from vl
(This used to be ctdb commit 8b5233fbe773893d1bc6b377f8956fe0b3e503ab)

18 years agomerge from ronnie
Andrew Tridgell [Thu, 12 Apr 2007 00:44:18 +0000 (10:44 +1000)] 
merge from ronnie
(This used to be ctdb commit b4c9dd2f2c014039afca3a225375a4aefee14113)

18 years agoadd an example on how to read a message from the domain socket
Ronnie sahlberg [Wed, 11 Apr 2007 23:09:27 +0000 (09:09 +1000)] 
add an example on how to read a message from the domain socket

(This used to be ctdb commit 9723828b1562eb6a386eb26e63db3b6617ebb454)

18 years agodo an infinite loop calling event_loop_once() in the ctdbd parent process instead...
Ronnie sahlberg [Wed, 11 Apr 2007 22:44:15 +0000 (08:44 +1000)] 
do an infinite loop calling event_loop_once() in the ctdbd parent process instead of event_loop_wait()  since the latter will return and thus take down the daemon

(This used to be ctdb commit 26ffd166c176deb7e2437f3ee87887f8b57435e7)

18 years agoadd a test message to the messaging test so we can see that the message data is also...
Ronnie sahlberg [Wed, 11 Apr 2007 22:28:54 +0000 (08:28 +1000)] 
add a test message to the messaging test so we can see that the message data is also passed from originator to receiver

(This used to be ctdb commit f9c2ed3cff8eb481bfa80d944d86233e2a7d5d00)

18 years agomerge from ridge and vl
Ronnie sahlberg [Wed, 11 Apr 2007 21:49:28 +0000 (07:49 +1000)] 
merge from ridge and vl

(This used to be ctdb commit 8d407c5858a20c9757024f19033b5ef174ec3681)

18 years agoRename "private" to "private_data"
Volker Lendecke [Wed, 11 Apr 2007 18:12:15 +0000 (20:12 +0200)] 
Rename "private" to "private_data"
(This used to be ctdb commit 78cf4443ac0c66fb750ef6919bcdec189ac219c9)

18 years agoMerge tridge's tree
Volker Lendecke [Wed, 11 Apr 2007 14:52:06 +0000 (16:52 +0200)] 
Merge tridge's tree

(This used to be ctdb commit 63a59a700a1fb4c23cd76d99c5b4c9660c7ca475)

18 years agoAdd a test to read back the message
Volker Lendecke [Wed, 11 Apr 2007 14:51:25 +0000 (16:51 +0200)] 
Add a test to read back the message

Volker

(This used to be ctdb commit b7f134fe6e160d7ec70c466f8f3e7fb3dabd0774)

18 years agouse event_loop_wait instead of while(1)
Andrew Tridgell [Wed, 11 Apr 2007 12:21:43 +0000 (22:21 +1000)] 
use event_loop_wait instead of while(1)
(This used to be ctdb commit e49a6436483bffcf867fbb746ef43a5356055857)

18 years agouse lib/replace for signal.h
Andrew Tridgell [Wed, 11 Apr 2007 12:19:46 +0000 (22:19 +1000)] 
use lib/replace for signal.h
(This used to be ctdb commit 4c660b9706ef09527b8e1a2837d844d30672c541)

18 years agomerge from volker
Andrew Tridgell [Wed, 11 Apr 2007 12:17:24 +0000 (22:17 +1000)] 
merge from volker
(This used to be ctdb commit 68bc5b4d0d2049ebcee19338f744efd5b129725a)

18 years agomerge from ronnie
Andrew Tridgell [Wed, 11 Apr 2007 12:11:07 +0000 (22:11 +1000)] 
merge from ronnie
(This used to be ctdb commit 6cd4b1ec40b51f491d25173a7dde0864f525e7ef)

18 years agomerge
Volker Lendecke [Wed, 11 Apr 2007 11:57:58 +0000 (13:57 +0200)] 
merge
(This used to be ctdb commit 89c24a2ee211126d24e770abb8f91c5575126246)

18 years agoHandle a client that exited correctly: We need to ignore SIGPIPE and when the
Volker Lendecke [Wed, 11 Apr 2007 11:17:36 +0000 (13:17 +0200)] 
Handle a client that exited correctly: We need to ignore SIGPIPE and when the
read returns 0 bytes this means the client has exited. Close the connection
then.

(This used to be ctdb commit bd10f4e62146493848258df8a3dc3b9222337a12)

18 years agoFix uninitialized variable warnings
Volker Lendecke [Wed, 11 Apr 2007 10:49:10 +0000 (12:49 +0200)] 
Fix uninitialized variable warnings

(This used to be ctdb commit b84f97adfd25b2fbfab1c7964b68931643e8029c)

18 years agoadd an example on how to send a message to the daemon
Ronnie sahlberg [Wed, 11 Apr 2007 10:32:24 +0000 (20:32 +1000)] 
add an example on how to send a message to the daemon
(send a message to ourself)

this unfortunately terminates the ctdb daemon when running   but im too tired right now to debug it.
checkin so that nothing gets lost overnight.

(This used to be ctdb commit 9d8821bfd1456591fb5c31f0c6c3fd63e99dc4fb)

18 years agoadd call/reply parsing of the cluster connect-wait call to the test daemon.
Ronnie sahlberg [Wed, 11 Apr 2007 09:27:19 +0000 (19:27 +1000)] 
add call/reply parsing of the cluster connect-wait call to the test daemon.

(This used to be ctdb commit c54c87feb89b8d97655c1fcd748a295119a1171f)

18 years agoadd a vnn field to the ctdb_reply_connect_wait pdu so that we can tell
Ronnie sahlberg [Wed, 11 Apr 2007 09:04:09 +0000 (19:04 +1000)] 
add a vnn field to the ctdb_reply_connect_wait pdu so that we can tell
non-ctdb-linked clients what the vnn of the local cluster daemon is

(This used to be ctdb commit 57fd1aa54b234545e1e465b5ace2ce93fcfbc22a)

18 years agocreate a standalone ctdb daemon and a script ./direct/ctdbd.sh to start two such...
Ronnie sahlberg [Wed, 11 Apr 2007 08:54:22 +0000 (18:54 +1000)] 
create a standalone ctdb daemon and a script ./direct/ctdbd.sh to start two such daemons in a 2 node cluster.

create a small test application that connects to the ctdb daemon at /tmp/ctdb.socket.127.0.0.1 and do some commands to the daemon.
currently this test tool only opens the socket and registers its pid with the daemon
(the daemon needs to know the pid so that it can forward messages to the correct client)

the test will be extended with additional ctdb commands

(This used to be ctdb commit 801f6127cdd50c5b2d0e64dd8db08500af9dadc9)

18 years agomerge from tridge
Ronnie sahlberg [Wed, 11 Apr 2007 05:40:03 +0000 (15:40 +1000)] 
merge from tridge

(This used to be ctdb commit 257a167d7e8b532c03a122626dbc2db767dbfdf0)

18 years agoadded --num-clients option to ctdb_messaging test
Andrew Tridgell [Wed, 11 Apr 2007 05:23:50 +0000 (15:23 +1000)] 
added --num-clients option to ctdb_messaging test
(This used to be ctdb commit 2f4e7e34071c8950f6c4d64469c5eb15d0888113)

18 years agouse the new connect_wait code in the ctdb_messaging test
Andrew Tridgell [Wed, 11 Apr 2007 05:09:22 +0000 (15:09 +1000)] 
use the new connect_wait code in the ctdb_messaging test
(This used to be ctdb commit 36980878141c5e506dd7ee021fba6ca7d0ff5ad3)

18 years agoadd proper support for ctdb_connect_wait in daemon mode
Andrew Tridgell [Wed, 11 Apr 2007 04:54:47 +0000 (14:54 +1000)] 
add proper support for ctdb_connect_wait in daemon mode
(This used to be ctdb commit 8d110df5939b3e6a6341909956453887f4eb6b0d)

18 years agofixed sending messages to ourselves in non-daemon mode
Andrew Tridgell [Wed, 11 Apr 2007 04:26:14 +0000 (14:26 +1000)] 
fixed sending messages to ourselves in non-daemon mode
(This used to be ctdb commit 325afd2de2f5a96fb4f8ec624e04f253c712c97d)

18 years agomerge from ronnie, plus complete the client side of inter-node messaging
Andrew Tridgell [Wed, 11 Apr 2007 04:05:01 +0000 (14:05 +1000)] 
merge from ronnie, plus complete the client side of inter-node messaging
(This used to be ctdb commit e605417436855d22343462acae4cbb79a374977e)

18 years agoadd a test that sends messages between clients connected to the same ctdb
Ronnie sahlberg [Wed, 11 Apr 2007 03:43:15 +0000 (13:43 +1000)] 
add a test that sends messages between clients connected to the same ctdb

add code to actually pass the messages between clients and ctdb

(This used to be ctdb commit 6d5b55d7b9c611fb5e98765906757a7d82e4bf6b)

18 years agopartially completed work towards full messaging system which will work in both daemon...
Andrew Tridgell [Wed, 11 Apr 2007 01:58:28 +0000 (11:58 +1000)] 
partially completed work towards full messaging system which will work in both daemon and standalone mode. Does not compile\! committing so ronnie can continue while I'm out
(This used to be ctdb commit 1b5e65a700e2bd0a5c913d7866024b25600a14c9)

18 years agomerge from ronnie
Andrew Tridgell [Wed, 11 Apr 2007 01:11:44 +0000 (11:11 +1000)] 
merge from ronnie
(This used to be ctdb commit dd6cec4ed8cda0112120af3967dd06b9e7b9341b)

18 years agomerge from tridge
Ronnie sahlberg [Wed, 11 Apr 2007 01:08:20 +0000 (11:08 +1000)] 
merge from tridge

(This used to be ctdb commit a027d468f39fdd95a4bd03e26da90eb229b2a645)

18 years agoforgot to add ctdb_client.c
Andrew Tridgell [Wed, 11 Apr 2007 01:02:26 +0000 (11:02 +1000)] 
forgot to add ctdb_client.c
(This used to be ctdb commit 136f912562ef00ede5589a7aa080503538d14bc3)

18 years ago - add --daemon flag to ctdb_fetch test code
Andrew Tridgell [Wed, 11 Apr 2007 01:01:42 +0000 (11:01 +1000)] 
 - add --daemon flag to ctdb_fetch test code
 - split client specific routines out of ctdb_daemon.c
 - use ctdb_queue code in message send from client to daemon
 - use clearer names in client/daemon functions
 - use talloc autofree context to avoid global for unlink of socket on
   exit
 - start on API change for message handler, to allow ctdb messaging to
   handle daemon mode with multiple clients

(This used to be ctdb commit 53555db45f3583ae4a32cc3aa9e07fb8ef2a77e3)

18 years agorename client.id to client.messenger_id to make the purpose of the field more obvious
Ronnie sahlberg [Tue, 10 Apr 2007 11:14:55 +0000 (21:14 +1000)] 
rename client.id to client.messenger_id to make the purpose of the field more obvious

(This used to be ctdb commit 350f14909d5dba6cd9d76d221e263933926cea6c)

18 years agoadd a call to register the pid for a messengin service
Ronnie sahlberg [Tue, 10 Apr 2007 11:05:29 +0000 (21:05 +1000)] 
add a call to register the pid for a messengin service

store this pid inside the client structure in the ctdb daemon

(This used to be ctdb commit d4499c5e0403b0348fa36b259164b1cbfcd671b8)

18 years agofix the queueing for partially connected tcp sockets
Andrew Tridgell [Tue, 10 Apr 2007 10:48:31 +0000 (20:48 +1000)] 
fix the queueing for partially connected tcp sockets
(This used to be ctdb commit 55f1c2442a53a547302669a4fdd0f1c1deeed930)

18 years agoupdates from tridges tree
Ronnie sahlberg [Tue, 10 Apr 2007 10:25:11 +0000 (20:25 +1000)] 
updates from tridges tree

(This used to be ctdb commit f291e1e652578c8c80b95fbc3d6a138ce7a7199e)

18 years agomake some functions static, and remove an unused structure
Andrew Tridgell [Tue, 10 Apr 2007 09:40:29 +0000 (19:40 +1000)] 
make some functions static, and remove an unused structure
(This used to be ctdb commit 8d09cac96b2c604a68e4903346cc9db3a66d80da)

18 years agomerge from ronnie
Andrew Tridgell [Tue, 10 Apr 2007 09:35:21 +0000 (19:35 +1000)] 
merge from ronnie
(This used to be ctdb commit 886a3e9122168ececc257aa1bef2f5de2f2d8d7e)

18 years agomade all sockets handle partial IO
Andrew Tridgell [Tue, 10 Apr 2007 09:33:21 +0000 (19:33 +1000)] 
made all sockets handle partial IO
abstract IO via ctdb_queue_*() functions

(This used to be ctdb commit 636ae76f4632b29231db87be32c9114f58b37840)

18 years agoremove old ifdef that remained from when this was a header file
Ronnie sahlberg [Tue, 10 Apr 2007 04:53:23 +0000 (14:53 +1000)] 
remove old ifdef that remained from when this was a header file

(This used to be ctdb commit 050f302103b32ea3895fc97dae7726f11fbf01e3)

18 years agomerge tcp changes from ronnie
Andrew Tridgell [Tue, 10 Apr 2007 04:48:13 +0000 (14:48 +1000)] 
merge tcp changes from ronnie
(This used to be ctdb commit 18d6e58b92f59f18cd7772cdbc1b8812a8609ab4)

18 years agoadded daemon mode to ctdb_bench
Andrew Tridgell [Tue, 10 Apr 2007 04:46:32 +0000 (14:46 +1000)] 
added daemon mode to ctdb_bench
(This used to be ctdb commit b1e71018866752d32f59170fd5c8ba01b05694d9)

18 years agochange the tcp code to call ctdb_read_pdu() instead of doing the partial read thing...
Ronnie sahlberg [Tue, 10 Apr 2007 03:17:15 +0000 (13:17 +1000)] 
change the tcp code to call ctdb_read_pdu() instead of doing the partial read thing explicitely

(This used to be ctdb commit 6156bec0187df27578afd5afa3fcaadb1a202030)

18 years agomerge from ronnie
Andrew Tridgell [Tue, 10 Apr 2007 03:06:47 +0000 (13:06 +1000)] 
merge from ronnie
(This used to be ctdb commit fb06332c246e9f8b98a6391b4eda183e2f03333f)

18 years agofix a possible free after use
Andrew Tridgell [Tue, 10 Apr 2007 03:05:23 +0000 (13:05 +1000)] 
fix a possible free after use
(This used to be ctdb commit 55bc7ee10b9e9df32792b6b5779f094eb513069e)

18 years agofix configure for new test location
Andrew Tridgell [Tue, 10 Apr 2007 02:51:54 +0000 (12:51 +1000)] 
fix configure for new test location
(This used to be ctdb commit e516ea4714ae0b84ae6073201fbe297dd49b8c51)

18 years agomove the checking of the CONNECT_WAIT flag into the start method for tcp
Ronnie sahlberg [Tue, 10 Apr 2007 02:39:25 +0000 (12:39 +1000)] 
move the checking of the CONNECT_WAIT flag into the start method for tcp

(This used to be ctdb commit 44f3e4456d931af642192e034f84c961ab1fdcf0)

18 years agorestore the test script that was updated by mistake in the previous checkin
Ronnie sahlberg [Tue, 10 Apr 2007 02:23:10 +0000 (12:23 +1000)] 
restore the test script that was updated by mistake in the previous checkin

(This used to be ctdb commit 5e2e6a5ce439762876f2aa054fdd0d4bb54c403c)

18 years agoadd a CONNECT_WAIT flag to replace the call ctdb_connect_wait() since
Ronnie sahlberg [Tue, 10 Apr 2007 02:18:58 +0000 (12:18 +1000)] 
add a CONNECT_WAIT flag to replace the call ctdb_connect_wait() since
we can no longer use this function from the application if we are in daemon mode.

add a horrible "sleep()" to ctdb_test.c   to prevent the daemon from dissapearing (parent process died) when the application exits which may happen before the other nodes in the test have finished talking to our daemon

(This used to be ctdb commit 74d35dafe06d71e755f3a58cc58d4b9b56fc821b)

18 years agoadd a atexit() call to remove the domain socket when the daemon exits
Ronnie sahlberg [Mon, 9 Apr 2007 22:47:39 +0000 (08:47 +1000)] 
add a atexit() call to remove the domain socket when the daemon exits

(This used to be ctdb commit 2f685c68e0b17ed8a290a265ebd64c1d089ceec5)

18 years agochange ctdb_client_read() to use the ctdb_read_pdu() helper
Ronnie sahlberg [Mon, 9 Apr 2007 22:38:29 +0000 (08:38 +1000)] 
change ctdb_client_read() to use the ctdb_read_pdu() helper

(This used to be ctdb commit d476aa8533b394af6aced9c80fffaf0eefae1dd0)

18 years agomake normal/deamon mode controllable by a ctdb flag so that the api looks the same...
Ronnie sahlberg [Mon, 9 Apr 2007 20:03:39 +0000 (06:03 +1000)] 
make normal/deamon mode controllable by a ctdb flag so that the api looks the same in both modes to a client.

send the correct structure back to a client

assorted other cleanups

(tests/test1.sh now works in daemon mode)

(This used to be ctdb commit f4593754cab750dfdb9384884502e2e1b8fde1f0)

18 years agodispatcher daemon first try.
Ronnie sahlberg [Mon, 9 Apr 2007 01:51:27 +0000 (11:51 +1000)] 
dispatcher daemon   first try.

does not yet work

(This used to be ctdb commit ff428808c6546d6f2804a1ac1cf414d1bb9cdcb4)

18 years agomerge from tridge
Ronnie sahlberg [Sun, 8 Apr 2007 02:11:48 +0000 (12:11 +1000)] 
merge from tridge
(This used to be ctdb commit d7764dec0e9d17290ae310898c147bebe48a0f5c)

18 years agoanother memory leak
Andrew Tridgell [Sat, 7 Apr 2007 00:58:14 +0000 (10:58 +1000)] 
another memory leak
(This used to be ctdb commit 10466fe11da71c93fa764bea2b3e1e741c113f9c)

18 years agoremove talloc debug code
Andrew Tridgell [Sat, 7 Apr 2007 00:46:47 +0000 (10:46 +1000)] 
remove talloc debug code
(This used to be ctdb commit d883c1bbd4d3691a0787d37c226051f4fce4d45d)

18 years agofixed a bunch of memory leaks
Andrew Tridgell [Sat, 7 Apr 2007 00:45:00 +0000 (10:45 +1000)] 
fixed a bunch of memory leaks
(This used to be ctdb commit 2ba2522f2def3032c89c7973915610a245842b07)

18 years agoput test code in tests/ directory
Andrew Tridgell [Sat, 7 Apr 2007 00:01:09 +0000 (10:01 +1000)] 
put test code in tests/ directory
(This used to be ctdb commit 6dbb36f27dd0f8ac00c7a010108d4fba15753479)

18 years agoadded a magic header for wireshark and packet version info
Andrew Tridgell [Fri, 6 Apr 2007 04:41:05 +0000 (14:41 +1000)] 
added a magic header for wireshark and packet version info
(This used to be ctdb commit 8366c212bde710dd46c8c1d9d4301f6c3738e300)

18 years agomerge from ronnie
Andrew Tridgell [Thu, 5 Apr 2007 23:46:45 +0000 (09:46 +1000)] 
merge from ronnie
(This used to be ctdb commit 079b88102a4c9fc56d12a6c6f74366412731bced)

18 years agoWhen we create a tcp connection to a remote ctdb node do an explicit bind() to set...
Ronnie sahlberg [Thu, 5 Apr 2007 23:08:41 +0000 (09:08 +1000)] 
When we create a tcp connection to a remote ctdb node  do an explicit bind() to set our source side to the same ip address as we use to listen to ctdb traffic.

We need this since there is no guarantee that INADDR_ANY (which would be defaulted to if we dont bind) would be routable from the remote host.
This is entirely possible to happen since CTDB traffic is likely to be isolated to a private non-routable network.

(This used to be ctdb commit e0743d2f84ca0088734c912e210deb93a6b78860)

18 years agomerge from ronnies branch
Andrew Tridgell [Thu, 5 Apr 2007 03:19:06 +0000 (13:19 +1000)] 
merge from ronnies branch
(This used to be ctdb commit 713dc36e85c762fedcd8be3b4b25b7a4fb780f10)

18 years agomerge fetch code from ronnie, and add a simple fetch test
Andrew Tridgell [Thu, 5 Apr 2007 03:18:31 +0000 (13:18 +1000)] 
merge fetch code from ronnie, and add a simple fetch test
(This used to be ctdb commit 83b794befd8d34b3da544a483f9d39a3fa140655)

18 years agofirst test of forced migration of records. compiles but not tested.
Ronnie sahlberg [Wed, 4 Apr 2007 11:15:56 +0000 (21:15 +1000)] 
first test of forced migration of records.  compiles but not tested.
(This used to be ctdb commit ac6ac290e79446f52caf31f429b4c38668c27eda)

18 years agotridge
Ronnie sahlberg [Wed, 4 Apr 2007 05:05:35 +0000 (15:05 +1000)] 
tridge
(This used to be ctdb commit bea51470acb3fc4de0af7b34520990f295cbaac3)

18 years agomerge back some changes from Samba4
Andrew Tridgell [Wed, 4 Apr 2007 05:02:49 +0000 (15:02 +1000)] 
merge back some changes from Samba4
(This used to be ctdb commit b946ff61c0e4b3269d3c7e01093d0a6d5215d6ee)

18 years agomerge multi-database support from ronnie
Andrew Tridgell [Tue, 3 Apr 2007 10:13:50 +0000 (20:13 +1000)] 
merge multi-database support from ronnie
(This used to be ctdb commit f8fbc2d07d68c60a6b56389ba041f85195d2c25e)

18 years agoSplit CTDB into sub contexts to handle multiple concurrent databases within the same...
Ronnie sahlberg [Tue, 3 Apr 2007 09:41:00 +0000 (19:41 +1000)] 
Split CTDB into sub contexts to handle multiple concurrent databases within the same context.

(This used to be ctdb commit d995103143f6f13f59118549d93ab4b29c27ec89)

18 years agomerged changes from peter
Andrew Tridgell [Thu, 8 Mar 2007 00:27:15 +0000 (11:27 +1100)] 
merged changes from peter
(This used to be ctdb commit da81d849be32427b0e13fc8b45e01c5015a35b29)

18 years agoib: added external send queue to workaround downtime
Peter Somogyi [Mon, 26 Feb 2007 10:59:20 +0000 (11:59 +0100)] 
ib: added external send queue to workaround downtime
Workaround is because I couldn't find a correct way in ib to reconnect cleanly (with queue kept) when destination is unreachable.
When connection is broken, all internal queue contents are being destroyed and reconnects automatically.
An "external" send queue is kept until the connection is up again for a dest node.

(This used to be ctdb commit 49cac6eafb9d9c80ef1c7f0388aa7786c8be6f24)

18 years agomerged tridge's code
Peter Somogyi [Thu, 22 Feb 2007 17:25:18 +0000 (18:25 +0100)] 
merged tridge's code

(This used to be ctdb commit fcf2f4783842edb3e91a62941aee62e24c19024c)

18 years agoadded --num-msgs option
Andrew Tridgell [Tue, 20 Feb 2007 03:57:13 +0000 (14:57 +1100)] 
added --num-msgs option
added TCP_NODELAY on tcp sockets

(This used to be ctdb commit fa76cff388237adea98c2be0827c54334080256a)

18 years agoadded rest of tdb (missed in earlier commit)
Andrew Tridgell [Tue, 20 Feb 2007 02:24:45 +0000 (13:24 +1100)] 
added rest of tdb (missed in earlier commit)
(This used to be ctdb commit 4c1434cc4613fc94958de0aa882bf7ca41ec8458)

18 years agoignored some files
Andrew Tridgell [Tue, 20 Feb 2007 02:23:43 +0000 (13:23 +1100)] 
ignored some files
(This used to be ctdb commit bb1a80492851c380fb239ce294fc1fae697006a0)

18 years agoadded a benchmark script that launches via ssh
Andrew Tridgell [Tue, 20 Feb 2007 02:23:01 +0000 (13:23 +1100)] 
added a benchmark script that launches via ssh
(This used to be ctdb commit 7eeeb9c1d8f82739015ce78d8c90291baf3b1982)

18 years agosupport hostnames for node names
Andrew Tridgell [Tue, 20 Feb 2007 02:22:18 +0000 (13:22 +1100)] 
support hostnames for node names
(This used to be ctdb commit 5c45b51ec42cdbadce7870b47b765a79d8d41b8b)

18 years agoworkaround proposal for the initialization-problem
Peter Somogyi [Fri, 16 Feb 2007 14:21:31 +0000 (15:21 +0100)] 
workaround proposal for the initialization-problem

(This used to be ctdb commit 2ee400d99fb57796a0e7c3256387ef77f6908f33)

18 years agomerged tridge's fix
Peter Somogyi [Fri, 16 Feb 2007 14:20:36 +0000 (15:20 +0100)] 
merged tridge's fix

(This used to be ctdb commit 95d3bf8c31d39e697bfae09362fa5a271cbc6a26)

18 years agofixed incr initialisation
Andrew Tridgell [Fri, 16 Feb 2007 03:48:27 +0000 (14:48 +1100)] 
fixed incr initialisation
(This used to be ctdb commit 36f386dcbca98c0bed96713e736170f6d537b83c)

18 years agomerged peters IB work
Andrew Tridgell [Fri, 16 Feb 2007 03:41:45 +0000 (14:41 +1100)] 
merged peters IB work
(This used to be ctdb commit a7062f777c6bcf5ea5aca1e6fd647f5c4806f7f0)

18 years ago1st working ib integrated ctdb
Peter Somogyi [Thu, 15 Feb 2007 16:02:38 +0000 (17:02 +0100)] 
1st working ib integrated ctdb
TODO: bugfix of ctdb_bench (wants to sent via uninitialised connection - see bench_ring/dest)

(This used to be ctdb commit 61516461e9d45dc7ba87518d134894fed7d7b7cd)

18 years agoib: a trivial approach of integration
Peter Somogyi [Wed, 14 Feb 2007 17:58:20 +0000 (18:58 +0100)] 
ib: a trivial approach of integration
TODO: bugfix (not yet complete, something happens differently than expected
at tcpip when connection is refused in the beginning)

(This used to be ctdb commit 330d76fb91f717d4fb8d1be29c11ddf8c25a4f1c)

18 years agoSome minor changes before integrating ib...
Peter Somogyi [Mon, 12 Feb 2007 15:47:12 +0000 (16:47 +0100)] 
Some minor changes before integrating ib...

(This used to be ctdb commit fa39ad5054de6e781ca980b9e24d22fa0c67e9ae)

18 years agoMerged tridge's code.
Peter Somogyi [Mon, 12 Feb 2007 14:13:22 +0000 (15:13 +0100)] 
Merged tridge's code.
(I had error 206 at direct bzr merge, so 1st I did a "bzr branch" and merged that one.)

(This used to be ctdb commit 9d4d2a8e034f1288583eb98c0f48a51ff323ccac)

18 years agoib: adjustment of a test scenario
Peter Somogyi [Fri, 9 Feb 2007 17:06:13 +0000 (18:06 +0100)] 
ib: adjustment of a test scenario

(This used to be ctdb commit be9d147e754f41bef9c34d1e924c03172ff96a7f)

18 years agoadded a simple benchmark script
Andrew Tridgell [Fri, 9 Feb 2007 01:46:16 +0000 (12:46 +1100)] 
added a simple benchmark script
(This used to be ctdb commit 508cca97083bf21bcce3505d0964dd33a8298624)

18 years agochanged ctdb_bench.c to use messages instead of calls
Andrew Tridgell [Fri, 9 Feb 2007 01:45:58 +0000 (12:45 +1100)] 
changed ctdb_bench.c to use messages instead of calls
(This used to be ctdb commit d147a434f827f83cf90228a3ed37338db8e9df13)

18 years agomerged ib work from peter
Andrew Tridgell [Thu, 8 Feb 2007 22:54:21 +0000 (09:54 +1100)] 
merged ib work from peter
(This used to be ctdb commit cc3d44b531999dafd752be84e8a966ea6252d65a)

18 years agoignore config.h*
Andrew Tridgell [Thu, 8 Feb 2007 22:47:53 +0000 (09:47 +1100)] 
ignore config.h*
(This used to be ctdb commit f4e4bbc7ae8235654d7c58103e47fc5f30ddc272)

18 years agomerged ctdb messaging code from samba4
Andrew Tridgell [Thu, 8 Feb 2007 22:42:04 +0000 (09:42 +1100)] 
merged ctdb messaging code from samba4
(This used to be ctdb commit af3010562763811deb9b7e37fea9962a42885d9d)

18 years agomerged tridge's code
Peter Somogyi [Thu, 8 Feb 2007 18:08:58 +0000 (19:08 +0100)] 
merged tridge's code

(This used to be ctdb commit 85d23c52462f6c706626022c3d2ddf731c93599f)

18 years agoib: fragment sent buf + many bugfixes
Peter Somogyi [Thu, 8 Feb 2007 18:06:14 +0000 (19:06 +0100)] 
ib: fragment sent buf + many bugfixes
It came to light I have to fragment the send buffer in case destination's to fit receiver's buffers.
Additionally fixed many bugs.
Still testing.
+ TODO: clean code.

(This used to be ctdb commit 2f8876f09bc92169487cb077326579044560a121)

18 years agomerged from samba4 ctdb
Andrew Tridgell [Wed, 7 Feb 2007 02:26:07 +0000 (13:26 +1100)] 
merged from samba4 ctdb
(This used to be ctdb commit 677fd2a7758b743ea920d0b3adb85fbb3f1ff49e)

18 years agoAdded variable msg size scenario.
Peter Somogyi [Fri, 2 Feb 2007 17:54:57 +0000 (18:54 +0100)] 
Added variable msg size scenario.
Detected 1 bug, fixing...

(This used to be ctdb commit 0b7bbd6d7f74f102c475f92448609673dc5efdca)

18 years ago2 bugfixes
Peter Somogyi [Thu, 1 Feb 2007 17:46:44 +0000 (18:46 +0100)] 
2 bugfixes
- ibw_stop handling
- ibw_send: < instead of <=

(This used to be ctdb commit 4774ef7e9e33f26745346b9bfe445d913f196e81)

18 years agomerging tridge's code...
Peter Somogyi [Wed, 31 Jan 2007 11:24:55 +0000 (12:24 +0100)] 
merging tridge's code...

(This used to be ctdb commit 4f97ecf6efb9216a49cf1856fe27337c092f511c)

18 years agoAdded overload test scenario + fixed 1 send queue bug.
Peter Somogyi [Tue, 30 Jan 2007 17:47:26 +0000 (18:47 +0100)] 
Added overload test scenario + fixed 1 send queue bug.
TODO: externize debug level

(This used to be ctdb commit 98442ce3e2b3f09ca6736abfa0a8314cbdafaac7)

18 years agomerge status code changes from samba4 ctdb
Andrew Tridgell [Mon, 29 Jan 2007 11:30:06 +0000 (22:30 +1100)] 
merge status code changes from samba4 ctdb
(This used to be ctdb commit 705a9f8e5238976aa5c8cd4a5371459650d8b553)

18 years agofix a bug in new structure handling
Andrew Tridgell [Mon, 29 Jan 2007 11:11:16 +0000 (22:11 +1100)] 
fix a bug in new structure handling
(This used to be ctdb commit 5f248d82717c8094f260ea16292996bb712df947)