]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
18 years agodefault log file to reasonable location
Andrew Tridgell [Tue, 29 May 2007 05:26:38 +0000 (15:26 +1000)] 
default log file to reasonable location
(This used to be ctdb commit 36b0a43c5d58d8171c1340603486e64051d696ac)

18 years agouse autoconf for more paths
Andrew Tridgell [Tue, 29 May 2007 05:20:41 +0000 (15:20 +1000)] 
use autoconf for more paths
(This used to be ctdb commit b765a391632621dfe3b129b85782e87f586ae2eb)

18 years agouse /etc/services for ctdb
Andrew Tridgell [Tue, 29 May 2007 05:15:00 +0000 (15:15 +1000)] 
use /etc/services for ctdb
(This used to be ctdb commit 64bf6964ff33320c5351337c7f8ed4da5bd71275)

18 years agomerge from jim
Andrew Tridgell [Tue, 29 May 2007 04:46:29 +0000 (14:46 +1000)] 
merge from jim
(This used to be ctdb commit a41acd1835af91176a2de1c251a8709dc42b65ac)

18 years agofixed more warnings on 64 bit boxes
Andrew Tridgell [Tue, 29 May 2007 03:58:41 +0000 (13:58 +1000)] 
fixed more warnings on 64 bit boxes
(This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)

18 years agofixed some debug messages
Andrew Tridgell [Tue, 29 May 2007 03:48:30 +0000 (13:48 +1000)] 
fixed some debug messages
(This used to be ctdb commit 037f0149c0c0e65af0a1669b9a52586129e4b48f)

18 years agoclean shutdown in ctdb - release all our IPs
Andrew Tridgell [Tue, 29 May 2007 03:33:59 +0000 (13:33 +1000)] 
clean shutdown in ctdb - release all our IPs
(This used to be ctdb commit 2f196cb6a86eb85205d7de1c4cadd4e1e701c06f)

18 years agodon't need maskbits to ip addr del
Andrew Tridgell [Tue, 29 May 2007 03:21:37 +0000 (13:21 +1000)] 
don't need maskbits to ip addr del
(This used to be ctdb commit 93125b460a44934f30bb995ff3c5365ac5a263d5)

18 years agofixed syntax of /sbin/ip
Andrew Tridgell [Tue, 29 May 2007 03:09:15 +0000 (13:09 +1000)] 
fixed syntax of /sbin/ip
(This used to be ctdb commit 9791901dda000fbef6e520531f39ead575531721)

18 years agomade events script executable
Andrew Tridgell [Tue, 29 May 2007 03:04:52 +0000 (13:04 +1000)] 
made events script executable
(This used to be ctdb commit 54934884ae2bfe8b7d155aa22ee90b2d0a674def)

18 years agoadded an example ctdb event script
Andrew Tridgell [Tue, 29 May 2007 03:01:31 +0000 (13:01 +1000)] 
added an example ctdb event script
(This used to be ctdb commit f97b75497d005306c5f893c3182f1c2a9b4dc6b7)

18 years agocall the event script on recovery too
Andrew Tridgell [Tue, 29 May 2007 02:55:24 +0000 (12:55 +1000)] 
call the event script on recovery too
(This used to be ctdb commit 8c43a91cbd6e502c93bd6cc51df1272eae426709)

18 years ago- moved ctdbd specific options to ctdbd.c from cmdline.c
Andrew Tridgell [Tue, 29 May 2007 02:49:25 +0000 (12:49 +1000)] 
- moved ctdbd specific options to ctdbd.c from cmdline.c

- allow a event script to be specified that will take IPs, release
  IPs, and handle recovery in system specific ways

- redirect stderr in subcommands to the log

(This used to be ctdb commit de0fc9ba370db781f9c46406ed180c8211946c7a)

18 years agofix sense of inet_aton() call
Andrew Tridgell [Tue, 29 May 2007 02:26:21 +0000 (12:26 +1000)] 
fix sense of inet_aton() call
(This used to be ctdb commit 39788dd804beee479f0cb3be8f4b984c3c7aad2e)

18 years ago- renamed ctdb_control utility to ctdb
Andrew Tridgell [Tue, 29 May 2007 02:16:59 +0000 (12:16 +1000)] 
- renamed ctdb_control utility to ctdb

- use -n to specify node number in ctdb utility

- change 'ctdb status' to 'ctdb statistics'

- added 'ctdb status' which shows status

- added netmask to public IPs, so you don't try a takeover on a
  foreign network

- cleaned up tools/ctdb_control.c a lot

- generate usage message at runtime

(This used to be ctdb commit 28de71c03ace7d32a9fd9882fabbd5d668b97656)

18 years agorename ctdb_control utility to ctdb
Andrew Tridgell [Tue, 29 May 2007 00:59:12 +0000 (10:59 +1000)] 
rename ctdb_control utility to ctdb
(This used to be ctdb commit 7fc3868a1a49aa8b49b277793eede903606b4353)

18 years agoNext round of packaging updates:
jmcd@samba.org [Mon, 28 May 2007 15:38:04 +0000 (11:38 -0400)] 
Next round of packaging updates:

- Create/delete source symlink as needed during rpm build
- init script updates:
- optional port, debuglevel, logfile
- autodetect logfile location if smbd exists
- build cluster_addresses file
- create tmp dbdir (Tridge, do you want this to be a fixed location instead?)

(This used to be ctdb commit 6695ec4845b71135db3fc5ed76afde7f20d8e24e)

18 years agoupdates from tridge
jmcd@samba.org [Mon, 28 May 2007 12:45:47 +0000 (08:45 -0400)] 
updates from tridge

(This used to be ctdb commit f2764aa6e7f320ee9cd0e69cc94d916c6ed3bd4a)

18 years agoupdates from tridge
jmcd@samba.org [Mon, 28 May 2007 12:45:19 +0000 (08:45 -0400)] 
updates from tridge

(This used to be ctdb commit ea7c2faaa7630fbb04a635fffcd42f0338c46846)

18 years agomerged packaging from jim
Andrew Tridgell [Mon, 28 May 2007 10:11:45 +0000 (20:11 +1000)] 
merged packaging from jim
(This used to be ctdb commit a66a70b9a03d9bea974748cfc9a183b206539ab7)

18 years agoanother place where we could send a partial packet
Andrew Tridgell [Sun, 27 May 2007 22:37:54 +0000 (08:37 +1000)] 
another place where we could send a partial packet
(This used to be ctdb commit 4e0c57718a0c9f51b5b2e02bbf516c63c5be0a35)

18 years agoInital rpm build files
jmcd@samba.org [Sun, 27 May 2007 20:48:18 +0000 (16:48 -0400)] 
Inital rpm build files

(This used to be ctdb commit 8830592b9202d6edab16af5c717608096597c517)

18 years agowhen handing over an IP to another node, also tell them of any tcp connections we...
Andrew Tridgell [Sun, 27 May 2007 14:51:10 +0000 (00:51 +1000)] 
when handing over an IP to another node, also tell them of any tcp connections we were handling, so they can send tickle acks for those connections
(This used to be ctdb commit 52c225720da22a149a85ed3cfc07d630cc8b3acd)

18 years agoautomatic cleanup of tcp tickle records
Andrew Tridgell [Sun, 27 May 2007 14:34:40 +0000 (00:34 +1000)] 
automatic cleanup of tcp tickle records
(This used to be ctdb commit ede79b571bf89b89f1b8394f262ca0689f8c65f3)

18 years agofixed error reporting in tickle ack code
Andrew Tridgell [Sun, 27 May 2007 14:01:51 +0000 (00:01 +1000)] 
fixed error reporting in tickle ack code
(This used to be ctdb commit a19555a2e2f3c7ca3147f6421fa2f751a3bdfdee)

18 years agouse a window size that is obvious in sniffs
Andrew Tridgell [Sun, 27 May 2007 07:23:35 +0000 (17:23 +1000)] 
use a window size that is obvious in sniffs
(This used to be ctdb commit 4d167711a600ad7bb042a5df143dd282b0e50462)

18 years agoremove experimental code
Andrew Tridgell [Sun, 27 May 2007 06:58:43 +0000 (16:58 +1000)] 
remove experimental code
(This used to be ctdb commit f1d91002247bedb2f163cc9a9515bbe2bbc2692e)

18 years agofixed tcp data offset and checksum
Andrew Tridgell [Sun, 27 May 2007 06:56:12 +0000 (16:56 +1000)] 
fixed tcp data offset and checksum
(This used to be ctdb commit 2df23e0d3df52b746e9aee8d194ad1da16b62657)

18 years agosend on the right socket!
Andrew Tridgell [Sun, 27 May 2007 05:47:43 +0000 (15:47 +1000)] 
send on the right socket!
(This used to be ctdb commit 2a5253a9da4d0144f4e96d9b8f6ac636849d146a)

18 years agoadded code to ctdb to send a tcp 'tickle' ack when we takeover an
Andrew Tridgell [Sun, 27 May 2007 05:26:29 +0000 (15:26 +1000)] 
added code to ctdb to send a tcp 'tickle' ack when we takeover an
IP. A raw tcp ack is sent for each tcp connection held by clients
before the IP takeover.

These acks have a deliberately incorrect sequence number, and should
cause the windows client to send its own ack which will in turn cause
a tcp reset and thus cause windows clients to much more quickly
reconnect to the new node.

(This used to be ctdb commit eef38bfe8461b47489d169c61895d6bb8a8f79a1)

18 years agoadded function to send a raw tcp ack packet
Andrew Tridgell [Sun, 27 May 2007 03:39:36 +0000 (13:39 +1000)] 
added function to send a raw tcp ack packet
(This used to be ctdb commit 634847f3eb5d8183c43d39f0300c0379ef1db3bc)

18 years agotweak timeouts
Andrew Tridgell [Sat, 26 May 2007 23:43:25 +0000 (09:43 +1000)] 
tweak timeouts
(This used to be ctdb commit 54a90797469f56d796efd82e9294efff3c5dabcc)

18 years agoremoved bogus alignment check
Andrew Tridgell [Sat, 26 May 2007 08:13:19 +0000 (18:13 +1000)] 
removed bogus alignment check
(This used to be ctdb commit 93fd5fd01dc61a53a91e319d5cbbe0fc8f740717)

18 years agodrop any partialialy send packets when we get a socket write error
Andrew Tridgell [Sat, 26 May 2007 06:41:32 +0000 (16:41 +1000)] 
drop any partialialy send packets when we get a socket write error
(This used to be ctdb commit 4f7b97af8e0075de56059fffc57a86cb0c16df46)

18 years agoshow op type of badly aligned packets in tcp layer
Andrew Tridgell [Sat, 26 May 2007 06:35:41 +0000 (16:35 +1000)] 
show op type of badly aligned packets in tcp layer
(This used to be ctdb commit 6a3e1faa2ce77ee021154d66aeaa99c51bbc8b06)

18 years agoparanoid checks for bad packets in tcp layer. Close the socket if it gets a bad packet
Andrew Tridgell [Sat, 26 May 2007 06:32:32 +0000 (16:32 +1000)] 
paranoid checks for bad packets in tcp layer. Close the socket if it gets a bad packet
(This used to be ctdb commit 1277089e5c6e1036517c63ee8c8e4ff98cb76cf8)

18 years agohandle corrupt ctdb packets better
Andrew Tridgell [Sat, 26 May 2007 04:46:12 +0000 (14:46 +1000)] 
handle corrupt ctdb packets better
(This used to be ctdb commit aea4d78645a99eb22860048350b5f20841c17704)

18 years agomoved system specific ip code to system.c
Andrew Tridgell [Sat, 26 May 2007 04:01:08 +0000 (14:01 +1000)] 
moved system specific ip code to system.c
(This used to be ctdb commit 9de9e4ccda9665108baac12a8716b189d26340b1)

18 years agosend the message from daemon context
Andrew Tridgell [Fri, 25 May 2007 14:21:07 +0000 (00:21 +1000)] 
send the message from daemon context
(This used to be ctdb commit 3bd7d1ebd5fc47f31caa654b5935a3cd05fb6882)

18 years agosend a message to clients when an IP has been released
Andrew Tridgell [Fri, 25 May 2007 14:05:30 +0000 (00:05 +1000)] 
send a message to clients when an IP has been released
(This used to be ctdb commit 8b7ab0b00253462593d368052c2cb10a385b4e63)

18 years agomake sure we find out about new nodes as fast as possible
Andrew Tridgell [Fri, 25 May 2007 12:07:45 +0000 (22:07 +1000)] 
make sure we find out about new nodes as fast as possible
(This used to be ctdb commit 73f2c77166e2053625d0f76c370cf7e789a63fdf)

18 years agokeep sending ARPs for 2 minutes, every 5 seconds
Andrew Tridgell [Fri, 25 May 2007 11:27:26 +0000 (21:27 +1000)] 
keep sending ARPs for 2 minutes, every 5 seconds
(This used to be ctdb commit d5223f2eed4a762b93a101c720286568578ce7ed)

18 years agoconsider a node dead after 6 seconds, not 15
Andrew Tridgell [Fri, 25 May 2007 10:00:06 +0000 (20:00 +1000)] 
consider a node dead after 6 seconds, not 15
(This used to be ctdb commit b055907f0bd2fa0e83bd84e49039fa868905b941)

18 years agoparaoid check for empty db on attach
Andrew Tridgell [Fri, 25 May 2007 08:48:49 +0000 (18:48 +1000)] 
paraoid check for empty db on attach
(This used to be ctdb commit f46ecc15d8d6520a7bce721d915897deba84a54f)

18 years agonew files for IP takeover
Andrew Tridgell [Fri, 25 May 2007 07:16:50 +0000 (17:16 +1000)] 
new files for IP takeover
(This used to be ctdb commit 9232501a6bb9ee5d67a3b7cc87752d82ede162a6)

18 years agoadded IP takeover logic for public IPs to ctdb
Andrew Tridgell [Fri, 25 May 2007 07:04:13 +0000 (17:04 +1000)] 
added IP takeover logic for public IPs to ctdb
(This used to be ctdb commit 374adb729472670f35cef41269b8719f49c0de0e)

18 years agomerge from ronnie
Andrew Tridgell [Fri, 25 May 2007 04:53:21 +0000 (14:53 +1000)] 
merge from ronnie
(This used to be ctdb commit 4a74c61785a6a0181112fb87356207ce9d4854f6)

18 years agoadd controls to take over and release an ip address
Ronnie Sahlberg [Fri, 25 May 2007 03:05:25 +0000 (13:05 +1000)] 
add controls to take over and release an ip address
add sending of grat arp     both normal grat arp (request) and also
unsolicited grat arp replies

(This used to be ctdb commit 7305c00c21c30bdbafc3722a018513378bd307e6)

18 years agomerge from tridge
Ronnie Sahlberg [Thu, 24 May 2007 06:06:23 +0000 (16:06 +1000)] 
merge from tridge

(This used to be ctdb commit 4041d78de3bf568ea12d6e5ae48791a5a5656aaa)

18 years agomake ctdbd realtime if possible
Andrew Tridgell [Thu, 24 May 2007 04:52:10 +0000 (14:52 +1000)] 
make ctdbd realtime if possible
(This used to be ctdb commit 8852f6cca52b64a5239c83ab7c6a99ae4edb2597)

18 years agoraise the control timeout in recovery
Andrew Tridgell [Thu, 24 May 2007 03:49:27 +0000 (13:49 +1000)] 
raise the control timeout in recovery
(This used to be ctdb commit 43424ff66daf28c202c12982f20a9f662b6fb125)

18 years agomerge from ronnie
Andrew Tridgell [Thu, 24 May 2007 00:10:02 +0000 (10:10 +1000)] 
merge from ronnie
(This used to be ctdb commit f31e750760bd98e2214ea76f359824aca6f5826f)

18 years agoadd a new command for ctdb_control to trigger a recovery
Ronnie Sahlberg [Wed, 23 May 2007 22:08:45 +0000 (08:08 +1000)] 
add a new command for ctdb_control to trigger a recovery

(This used to be ctdb commit 6da2a4ab1b9c955d55a1c6817506a74539623892)

18 years agomerge from tridge
Ronnie Sahlberg [Wed, 23 May 2007 21:33:04 +0000 (07:33 +1000)] 
merge from tridge

(This used to be ctdb commit 74077fb37aaaef2682f4a5bbcf7bb88a5f4fca46)

18 years agofixed %d which should be %u
Andrew Tridgell [Wed, 23 May 2007 10:15:09 +0000 (20:15 +1000)] 
fixed %d which should be %u
(This used to be ctdb commit 2792cf718ff1e66fe99f870f683a13baa160f629)

18 years agofixed some memory leaks on the traverse code
Andrew Tridgell [Wed, 23 May 2007 10:06:37 +0000 (20:06 +1000)] 
fixed some memory leaks on the traverse code
(This used to be ctdb commit 2781cbb7d00c5448449216c8c0c1b37bdc74a6c0)

18 years agoadded automatic vacuuming of empty records during recovery
Andrew Tridgell [Wed, 23 May 2007 07:21:14 +0000 (17:21 +1000)] 
added automatic vacuuming of empty records during recovery
(This used to be ctdb commit f9181a784ac7009df5e9c996f4e0c3e99098b59a)

18 years ago- get rid of ctdb_ctrl_get_config
Andrew Tridgell [Wed, 23 May 2007 05:18:30 +0000 (15:18 +1000)] 
- get rid of ctdb_ctrl_get_config
- cope with zero timeout in ctdb_control

(This used to be ctdb commit 9f24689eb0ad6813f1ac78e033cdffe5d8afb128)

18 years agomerge from ronnie
Andrew Tridgell [Wed, 23 May 2007 04:50:41 +0000 (14:50 +1000)] 
merge from ronnie
(This used to be ctdb commit 267481b67152bc5885884d223085aa9ef5fe73bd)

18 years ago- startup frozen, and do an initial recovery
Andrew Tridgell [Wed, 23 May 2007 04:35:19 +0000 (14:35 +1000)] 
- startup frozen, and do an initial recovery
- fixed a bug in traverse
- get a lock on the node list file in the recmaster recovery daemon

(This used to be ctdb commit 162a5647535ad1cb3e8e5d4042a2784365fb1913)

18 years agostart ctdb frozen, and let the election sort things out. This prevents a race on...
Andrew Tridgell [Wed, 23 May 2007 02:23:07 +0000 (12:23 +1000)] 
start ctdb frozen, and let the election sort things out. This prevents a race on startup
(This used to be ctdb commit b788ed3fa64e31e517b4e602e8bd3ae7201ecddd)

18 years agoglobal lock should imply the transaction lock
Andrew Tridgell [Tue, 22 May 2007 03:14:51 +0000 (13:14 +1000)] 
global lock should imply the transaction lock
(This used to be ctdb commit 765a7e27344476ea8835565839b69872ea6ab6f0)

18 years agoadd controls to enable/disable the monitoring of dead nodes
Ronnie Sahlberg [Sun, 20 May 2007 23:24:34 +0000 (09:24 +1000)] 
add controls to enable/disable the monitoring of dead nodes

(This used to be ctdb commit 79d29c39bb81feb069db3fc6d3d392c1e75a4d13)

18 years agomerge from tridge
Ronnie Sahlberg [Sat, 19 May 2007 22:18:39 +0000 (08:18 +1000)] 
merge from tridge

(This used to be ctdb commit a0bf1f65d2ac0bd92ae24663c4239393404a2995)

18 years agoshow ctdb control timeout
Andrew Tridgell [Sat, 19 May 2007 11:11:06 +0000 (21:11 +1000)] 
show ctdb control timeout
(This used to be ctdb commit 03921eacb942c7aa6b81236c6603dc640cefe2bf)

18 years agomerge from ronnie
Andrew Tridgell [Sat, 19 May 2007 07:21:58 +0000 (17:21 +1000)] 
merge from ronnie
(This used to be ctdb commit 985d718e03510398b9a5cfdf6a4d559a90738a11)

18 years agouse ctdb_dead_node() instead of reimplementing the same code again
Ronnie Sahlberg [Sat, 19 May 2007 06:59:10 +0000 (16:59 +1000)] 
use ctdb_dead_node() instead of reimplementing the same code again
this leaves only one single function where a node is marked as dead
instead of two places

(This used to be ctdb commit aa764ea26cc26d5c1ae188105236da603576f45b)

18 years agoremoved obsolete ctdb_dump tool
Andrew Tridgell [Sat, 19 May 2007 04:07:01 +0000 (14:07 +1000)] 
removed obsolete ctdb_dump tool
(This used to be ctdb commit e3ed6fd65896f07fc76405acb2e16f50f04a0a3c)

18 years agodon't count packets received from before the transport told us the node was dead
Andrew Tridgell [Sat, 19 May 2007 04:04:48 +0000 (14:04 +1000)] 
don't count packets received from before the transport told us the node was dead
(This used to be ctdb commit 46b5319963afa9da6cf6d83f2a5dc1fa664e14b4)

18 years agonicer date formatting
Andrew Tridgell [Sat, 19 May 2007 04:01:02 +0000 (14:01 +1000)] 
nicer date formatting
(This used to be ctdb commit 78c256caa738593e335de65df752ff015f3a38e1)

18 years agomake sure we don't increment rx_cnt for redirected packets, or for packets that have...
Andrew Tridgell [Sat, 19 May 2007 03:45:24 +0000 (13:45 +1000)] 
make sure we don't increment rx_cnt for redirected packets, or for packets that have been requeued after a lockwait
(This used to be ctdb commit 92e5569407dba173a27e9645b4339ce3e2c00520)

18 years agomerge tx_cnt code from ronnie
Andrew Tridgell [Sat, 19 May 2007 03:18:56 +0000 (13:18 +1000)] 
merge tx_cnt code from ronnie
(This used to be ctdb commit 8e17c9bff1b80374709f9c712bc9dc971e5d3f6e)

18 years agoincrease the tx_cnt everytime we send a packet to a node
Ronnie Sahlberg [Sat, 19 May 2007 00:27:17 +0000 (10:27 +1000)] 
increase the tx_cnt everytime we send a packet to a node

(This used to be ctdb commit d3fea0d87268e552f4ed3a90d10b3af209413f73)

18 years agoadd a node->tx_cnt counter
Ronnie Sahlberg [Sat, 19 May 2007 00:20:19 +0000 (10:20 +1000)] 
add a node->tx_cnt counter

only send keepalive packets if the count is zero

(This used to be ctdb commit 2cbd424231caccf0a531cf6501761115efe68f3e)

18 years agomerge from tridge
Ronnie Sahlberg [Sat, 19 May 2007 00:12:37 +0000 (10:12 +1000)] 
merge from tridge

(This used to be ctdb commit af1eb92c7bdc26457f55b21ca96a496f55ea300b)

18 years agoa better way to resend calls after recovery
Andrew Tridgell [Fri, 18 May 2007 14:56:49 +0000 (00:56 +1000)] 
a better way to resend calls after recovery
(This used to be ctdb commit 444f52e134fc22aaf254d05c86d8b357ded876f4)

18 years agotimeout pending controls immediately when a node becomes disconnected
Andrew Tridgell [Fri, 18 May 2007 13:48:29 +0000 (23:48 +1000)] 
timeout pending controls immediately when a node becomes disconnected
(This used to be ctdb commit 93c4b16f4efef383ba8db83953019ef4821613e0)

18 years ago- up rx_cnt on all packet types
Andrew Tridgell [Fri, 18 May 2007 13:23:36 +0000 (23:23 +1000)] 
- up rx_cnt on all packet types
- notice when a node becomes available again

(This used to be ctdb commit e05110dd6112e81f224937dfd7370d963ce9531a)

18 years agomerge keepalive code from ronnie
Andrew Tridgell [Fri, 18 May 2007 12:11:58 +0000 (22:11 +1000)] 
merge keepalive code from ronnie
(This used to be ctdb commit 0218a8eafe3889e0996a375bf54fa5306e719392)

18 years agoadd a missing file :-)
Ronnie Sahlberg [Fri, 18 May 2007 10:06:29 +0000 (20:06 +1000)] 
add a missing file :-)

(This used to be ctdb commit 29cf1b927f2cebfdc43e22d32a270e956716e2c5)

18 years agoadd dead node detection so that if a node does not generate any
Ronnie Sahlberg [Fri, 18 May 2007 09:19:35 +0000 (19:19 +1000)] 
add dead node detection   so that if a node does not generate any
keepalive traffic for x seconds   it is deemed dead

this triggers a recovery after a while if a ctdbd has been STOPPED
but it doesnt recover automatically when the node reappears

(This used to be ctdb commit d6324afe0d13b5e21d06e347caca433c6b36a32a)

18 years agomerge from tridge
Ronnie Sahlberg [Fri, 18 May 2007 07:10:21 +0000 (17:10 +1000)] 
merge from tridge

(This used to be ctdb commit d045dff2c68d6d7fcf8e7c5037908fab3d55a16f)

18 years agomerge from samba4
Andrew Tridgell [Fri, 18 May 2007 01:24:45 +0000 (11:24 +1000)] 
merge from samba4
(This used to be ctdb commit 3028a1b5c21b981c4487b55f026e6645bbeada89)

18 years agomerge from samba4
Andrew Tridgell [Thu, 17 May 2007 22:33:10 +0000 (08:33 +1000)] 
merge from samba4
(This used to be ctdb commit b280bb01fc9afea5a9168c63d92907dac725b22b)

18 years ago- don't try to send controls to dead nodes
Andrew Tridgell [Thu, 17 May 2007 13:23:41 +0000 (23:23 +1000)] 
- don't try to send controls to dead nodes
- use only connected nodes in a traverse

(This used to be ctdb commit 9a676dd5d331022d946a56c52c42fc6985b93dbc)

18 years agomerged from samba4
Andrew Tridgell [Thu, 17 May 2007 07:54:02 +0000 (17:54 +1000)] 
merged from samba4
(This used to be ctdb commit 23b1c00f8bf60739aee935bac44981b68477ee1f)

18 years agoremoved the CTDB_CTRL_FLAG_NOREQUEUE flag
Andrew Tridgell [Thu, 17 May 2007 04:10:38 +0000 (14:10 +1000)] 
removed the CTDB_CTRL_FLAG_NOREQUEUE flag
(This used to be ctdb commit 366e849f6f350eda78d79cf1ea55c2637e605c86)

18 years agomerge from ronnie
Andrew Tridgell [Thu, 17 May 2007 02:46:50 +0000 (12:46 +1000)] 
merge from ronnie
(This used to be ctdb commit f80c4b02ffb474a4710fa411123448e3ce2d004a)

18 years agomerged debug changes from samba4
Andrew Tridgell [Thu, 17 May 2007 02:43:09 +0000 (12:43 +1000)] 
merged debug changes from samba4
(This used to be ctdb commit f01180148635b9fcc0f50beddb87be0a2071dfd4)

18 years agomerged events changes from samba4
Andrew Tridgell [Thu, 17 May 2007 02:39:53 +0000 (12:39 +1000)] 
merged events changes from samba4
(This used to be ctdb commit cd9280556663bc8929672ada6ea556e097c4b2b3)

18 years agowe no longer pass lmaster across during pulldb so dont print it from
Ronnie Sahlberg [Thu, 17 May 2007 02:07:29 +0000 (12:07 +1000)] 
we no longer pass lmaster across during pulldb    so dont print it from
catdb either

(This used to be ctdb commit b57d60f4789ea7f0dd69c93f6629d8742e182576)

18 years agomerge shutdown control from ronnie
Andrew Tridgell [Thu, 17 May 2007 00:48:43 +0000 (10:48 +1000)] 
merge shutdown control from ronnie
(This used to be ctdb commit 61bfe26dde0bfd494d4f12f0aa2a3bb78852ab31)

18 years agoadd a control to shutdown/kill a node
Ronnie Sahlberg [Thu, 17 May 2007 00:45:31 +0000 (10:45 +1000)] 
add a control to shutdown/kill a node

(This used to be ctdb commit 3802f7304fd59d56062c855987e2561753e85a69)

18 years agomerge from tridge
Ronnie Sahlberg [Wed, 16 May 2007 08:44:51 +0000 (18:44 +1000)] 
merge from tridge

(This used to be ctdb commit 0c6dc471e33e80db00a2b006262c4107f39fa023)

18 years ago- merge from ronnie
Andrew Tridgell [Wed, 16 May 2007 08:10:26 +0000 (18:10 +1000)] 
- merge from ronnie
- fixed a memory leak found by dmitry

(This used to be ctdb commit ae87bf0005666b50850161c3843d6bc7cb5c8971)

18 years agoremove a prototype we no longer need
Ronnie Sahlberg [Wed, 16 May 2007 04:45:43 +0000 (14:45 +1000)] 
remove a prototype we no longer need

(This used to be ctdb commit 4a11373ec5e8196cf430f18f6171915f790f794b)

18 years agoif a caller specifies a timeout when calling a control, it makes no
Ronnie Sahlberg [Wed, 16 May 2007 02:34:30 +0000 (12:34 +1000)] 
if a caller specifies a timeout when calling a control, it makes no
sense to have the daemon requeue the packets if they timeout or fail to
deliver to the remote node

(This used to be ctdb commit 9fb753046787190970654aeb937e96685ac53184)

18 years agomerge from tridge
Ronnie Sahlberg [Wed, 16 May 2007 01:12:28 +0000 (11:12 +1000)] 
merge from tridge

(This used to be ctdb commit 8d424b41d6cf2973b28a749d1b8e6a028dad9ffe)

18 years agoenable TCP keepalives
Andrew Tridgell [Tue, 15 May 2007 08:40:56 +0000 (18:40 +1000)] 
enable TCP keepalives
(This used to be ctdb commit a44f760f6260359201d8431d2f1267af2bc6b1b1)

18 years agomoved the recovery daemon into the main ctdbd and enable it by default
Andrew Tridgell [Tue, 15 May 2007 05:13:36 +0000 (15:13 +1000)] 
moved the recovery daemon into the main ctdbd and enable it by default
(This used to be ctdb commit 2a7d42124731f43d013cb76a798525eab4cc1ee0)