]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
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)

18 years agofixed two more places where we don't correctly handle write errors on sockets
Andrew Tridgell [Tue, 15 May 2007 04:08:58 +0000 (14:08 +1000)] 
fixed two more places where we don't correctly handle write errors on sockets
(This used to be ctdb commit f4a71bb63e7f75d21b66f9eaeac997c2029cd146)

18 years agomerge from tridge
Ronnie Sahlberg [Tue, 15 May 2007 00:34:14 +0000 (10:34 +1000)] 
merge from tridge

(This used to be ctdb commit eb64cde53ec5ed6949df1684e5c148f2294b1da7)

18 years agofixed a fd close error on reconnect
Andrew Tridgell [Tue, 15 May 2007 00:33:28 +0000 (10:33 +1000)] 
fixed a fd close error on reconnect
(This used to be ctdb commit 240651a6f67f914b06e273696cef6180d788221e)

18 years agomerge from tridge
Ronnie Sahlberg [Tue, 15 May 2007 00:28:41 +0000 (10:28 +1000)] 
merge from tridge

(This used to be ctdb commit 0697f59a044deeab126a39bff97bcd5c1101298e)

18 years agoadded a control to get the local vnn
Andrew Tridgell [Tue, 15 May 2007 00:17:16 +0000 (10:17 +1000)] 
added a control to get the local vnn
(This used to be ctdb commit 0b109f574b710f290372512d0694290ea7cd4368)

18 years agocheck for error on ctdb_ltdb_store
Andrew Tridgell [Tue, 15 May 2007 00:16:59 +0000 (10:16 +1000)] 
check for error on ctdb_ltdb_store
(This used to be ctdb commit c4a34bac4ad4d2f9699e08074668d25586e3c0da)

18 years agoadded a -i switch to run ctdbd without forking
Andrew Tridgell [Mon, 14 May 2007 23:44:33 +0000 (09:44 +1000)] 
added a -i switch to run ctdbd without forking
(This used to be ctdb commit 327df14ecd58f405fbe8b38afa2ee54a8dd0a2e4)

18 years agoreading on the write side of a pipe isn't allowed - this caused us to run without...
Andrew Tridgell [Mon, 14 May 2007 23:44:03 +0000 (09:44 +1000)] 
reading on the write side of a pipe isn't allowed - this caused us to run without locking in the lockwait code
(This used to be ctdb commit 2ac67ce737f30258915cc25bde531d361092ae14)

18 years agoAIX needs sin_len field for bind()
Andrew Tridgell [Mon, 14 May 2007 23:42:52 +0000 (09:42 +1000)] 
AIX needs sin_len field for bind()
(This used to be ctdb commit cd6c35d4aa4f4a4cfeedf6902cda84e43d7aeba4)

18 years agomerge from tridge
Ronnie Sahlberg [Mon, 14 May 2007 04:07:19 +0000 (14:07 +1000)] 
merge from tridge

(This used to be ctdb commit d1dae4fc8f4c2d16d313a27968d67c5825a133d1)

18 years agomerge from tridge
Ronnie Sahlberg [Mon, 14 May 2007 04:05:49 +0000 (14:05 +1000)] 
merge from tridge

(This used to be ctdb commit 65f4415e618dbbac0260f6a4e51e051e6df64a61)

18 years agowe must not free the fde until after we no longer need the lock child
Andrew Tridgell [Mon, 14 May 2007 04:01:33 +0000 (14:01 +1000)] 
we must not free the fde until after we no longer need the lock child
(This used to be ctdb commit e06776c7c37b63f5c3165c7043d665e0c1a95337)

18 years agokill the lockwait child if the pipe goes away
Andrew Tridgell [Mon, 14 May 2007 03:49:01 +0000 (13:49 +1000)] 
kill the lockwait child if the pipe goes away
(This used to be ctdb commit bdfa8ba9932fade074a05a6cb6bc14ae3b84618c)

18 years agodon't allow setvnnmap while not frozen
Andrew Tridgell [Mon, 14 May 2007 03:48:40 +0000 (13:48 +1000)] 
don't allow setvnnmap while not frozen
(This used to be ctdb commit a73f47f565894cc7e346177d87f2e6813837e1c6)

18 years agodon't allow setrecmaster while not frozen
Andrew Tridgell [Mon, 14 May 2007 03:48:14 +0000 (13:48 +1000)] 
don't allow setrecmaster while not frozen
(This used to be ctdb commit e84b05ba6062ffc45b7f3c23e88feef1d39069c4)

18 years agoremove the control to bump the rsn since we dont need it anymore
Ronnie Sahlberg [Sun, 13 May 2007 22:03:48 +0000 (08:03 +1000)] 
remove the control to bump the rsn since we dont need it anymore

(This used to be ctdb commit a646b6d77bd8adf6c986259c534a05400c4bde11)

18 years agoadd a mising parameter to the new signature for ctdb_control
Ronnie Sahlberg [Sun, 13 May 2007 20:50:24 +0000 (06:50 +1000)] 
add a mising parameter to the new signature for ctdb_control

(This used to be ctdb commit 3a3304cd48d644c758f416ec283faf3ba9690c04)

18 years agomerge from tridge
Ronnie Sahlberg [Sun, 13 May 2007 20:25:15 +0000 (06:25 +1000)] 
merge from tridge

(This used to be ctdb commit 7bca79ad6357149fd7c6b28ce4b05de3d223a7de)

18 years agomake sure the ctdb control socket is secure
Andrew Tridgell [Sat, 12 May 2007 23:20:16 +0000 (09:20 +1000)] 
make sure the ctdb control socket is secure
(This used to be ctdb commit 2954f2e501a418af578e75e8705b0b39a77c1861)

18 years agoadded error messages in ctdb_control replies
Andrew Tridgell [Sat, 12 May 2007 11:25:26 +0000 (21:25 +1000)] 
added error messages in ctdb_control replies
(This used to be ctdb commit bd848f5b760e6b2a73ebfc67fd8adb3c31479fb5)

18 years agoprioritise the dmaster in case of matching rsn
Andrew Tridgell [Sat, 12 May 2007 09:57:12 +0000 (19:57 +1000)] 
prioritise the dmaster in case of matching rsn
(This used to be ctdb commit 4996a12174aa0d215a5b14cb970bdf83eed34a39)

18 years agothe invalid dmaster is no longer needed in recovery
Andrew Tridgell [Sat, 12 May 2007 09:56:31 +0000 (19:56 +1000)] 
the invalid dmaster is no longer needed in recovery
(This used to be ctdb commit bd638ea63d11485bc3a8c50d923262a48095c2f3)

18 years agothe retry client code is no longer needed now that we use a freeze on recovery
Andrew Tridgell [Sat, 12 May 2007 09:55:55 +0000 (19:55 +1000)] 
the retry client code is no longer needed now that we use a freeze on recovery
(This used to be ctdb commit 4213475a2db93b149705bfbb578c78936124c608)

18 years agoensure we propogate the correct rsn for a request dmaster
Andrew Tridgell [Sat, 12 May 2007 09:55:18 +0000 (19:55 +1000)] 
ensure we propogate the correct rsn for a request dmaster
(This used to be ctdb commit 70c1c67db865db8a49b56e8e3e8fd56ec5063208)

18 years agosimplify the generation checking on incoming call packets
Andrew Tridgell [Sat, 12 May 2007 09:54:40 +0000 (19:54 +1000)] 
simplify the generation checking on incoming call packets
(This used to be ctdb commit 87ee47f7fbbf71228bc9cc16faff86b4c59333a2)

18 years agomake sure we ignore requeued ctdb_call packets of older generations except for packet...
Andrew Tridgell [Sat, 12 May 2007 08:08:50 +0000 (18:08 +1000)] 
make sure we ignore requeued ctdb_call packets of older generations except for packets from the client
(This used to be ctdb commit facab105fbd7fe50f96bdd763ae50ddc54fbdacc)

18 years agoadded -t option to ctdb_control
Andrew Tridgell [Sat, 12 May 2007 06:04:56 +0000 (16:04 +1000)] 
added -t option to ctdb_control
(This used to be ctdb commit 658141280eeb121a570d71c4b0af36d03004f320)

18 years ago- nicer message if freeze child dies
Andrew Tridgell [Sat, 12 May 2007 05:59:49 +0000 (15:59 +1000)] 
- nicer message if freeze child dies
- change local generation count after recovery/freeze started

(This used to be ctdb commit d9768142797f083a8c09b55d6a8a93cc12089348)