1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

868 Commits

Author SHA1 Message Date
jmcd@samba.org
239f698b63 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)
2007-05-28 11:38:04 -04:00
jmcd@samba.org
b845dea543 updates from tridge
(This used to be ctdb commit f2764aa6e7f320ee9cd0e69cc94d916c6ed3bd4a)
2007-05-28 08:45:47 -04:00
jmcd@samba.org
5de1a97891 updates from tridge
(This used to be ctdb commit ea7c2faaa7630fbb04a635fffcd42f0338c46846)
2007-05-28 08:45:19 -04:00
Andrew Tridgell
116ed6f9d6 merged packaging from jim
(This used to be ctdb commit a66a70b9a03d9bea974748cfc9a183b206539ab7)
2007-05-28 20:11:45 +10:00
Andrew Tridgell
dcd23d47a7 another place where we could send a partial packet
(This used to be ctdb commit 4e0c57718a0c9f51b5b2e02bbf516c63c5be0a35)
2007-05-28 08:37:54 +10:00
jmcd@samba.org
3be6ed7d42 Inital rpm build files
(This used to be ctdb commit 8830592b9202d6edab16af5c717608096597c517)
2007-05-27 16:48:18 -04:00
Andrew Tridgell
53586a4a74 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)
2007-05-28 00:51:10 +10:00
Andrew Tridgell
9cc3ce8554 automatic cleanup of tcp tickle records
(This used to be ctdb commit ede79b571bf89b89f1b8394f262ca0689f8c65f3)
2007-05-28 00:34:40 +10:00
Andrew Tridgell
b01cdc814f fixed error reporting in tickle ack code
(This used to be ctdb commit a19555a2e2f3c7ca3147f6421fa2f751a3bdfdee)
2007-05-28 00:01:51 +10:00
Andrew Tridgell
99e38ed6ab use a window size that is obvious in sniffs
(This used to be ctdb commit 4d167711a600ad7bb042a5df143dd282b0e50462)
2007-05-27 17:23:35 +10:00
Andrew Tridgell
922d054bca remove experimental code
(This used to be ctdb commit f1d91002247bedb2f163cc9a9515bbe2bbc2692e)
2007-05-27 16:58:43 +10:00
Andrew Tridgell
957ec5d63a fixed tcp data offset and checksum
(This used to be ctdb commit 2df23e0d3df52b746e9aee8d194ad1da16b62657)
2007-05-27 16:56:12 +10:00
Andrew Tridgell
eae66741ec send on the right socket!
(This used to be ctdb commit 2a5253a9da4d0144f4e96d9b8f6ac636849d146a)
2007-05-27 15:47:43 +10:00
Andrew Tridgell
d41290fbae 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)
2007-05-27 15:26:29 +10:00
Andrew Tridgell
4577eb1cbc added function to send a raw tcp ack packet
(This used to be ctdb commit 634847f3eb5d8183c43d39f0300c0379ef1db3bc)
2007-05-27 13:39:36 +10:00
Andrew Tridgell
647540253e tweak timeouts
(This used to be ctdb commit 54a90797469f56d796efd82e9294efff3c5dabcc)
2007-05-27 09:43:25 +10:00
Andrew Tridgell
7ff6e17ca1 removed bogus alignment check
(This used to be ctdb commit 93fd5fd01dc61a53a91e319d5cbbe0fc8f740717)
2007-05-26 18:13:19 +10:00
Andrew Tridgell
35955c1476 drop any partialialy send packets when we get a socket write error
(This used to be ctdb commit 4f7b97af8e0075de56059fffc57a86cb0c16df46)
2007-05-26 16:41:32 +10:00
Andrew Tridgell
47b20f7e26 show op type of badly aligned packets in tcp layer
(This used to be ctdb commit 6a3e1faa2ce77ee021154d66aeaa99c51bbc8b06)
2007-05-26 16:35:41 +10:00
Andrew Tridgell
9aa692669b paranoid checks for bad packets in tcp layer. Close the socket if it gets a bad packet
(This used to be ctdb commit 1277089e5c6e1036517c63ee8c8e4ff98cb76cf8)
2007-05-26 16:32:32 +10:00
Andrew Tridgell
2b86216b66 handle corrupt ctdb packets better
(This used to be ctdb commit aea4d78645a99eb22860048350b5f20841c17704)
2007-05-26 14:46:12 +10:00
Andrew Tridgell
cc4d8102cd moved system specific ip code to system.c
(This used to be ctdb commit 9de9e4ccda9665108baac12a8716b189d26340b1)
2007-05-26 14:01:08 +10:00
Andrew Tridgell
750ae1a35b send the message from daemon context
(This used to be ctdb commit 3bd7d1ebd5fc47f31caa654b5935a3cd05fb6882)
2007-05-26 00:21:07 +10:00
Andrew Tridgell
9e61a5bd77 send a message to clients when an IP has been released
(This used to be ctdb commit 8b7ab0b00253462593d368052c2cb10a385b4e63)
2007-05-26 00:05:30 +10:00
Andrew Tridgell
07ade57802 make sure we find out about new nodes as fast as possible
(This used to be ctdb commit 73f2c77166e2053625d0f76c370cf7e789a63fdf)
2007-05-25 22:07:45 +10:00
Andrew Tridgell
31053286c5 keep sending ARPs for 2 minutes, every 5 seconds
(This used to be ctdb commit d5223f2eed4a762b93a101c720286568578ce7ed)
2007-05-25 21:27:26 +10:00
Andrew Tridgell
7a9e40b288 consider a node dead after 6 seconds, not 15
(This used to be ctdb commit b055907f0bd2fa0e83bd84e49039fa868905b941)
2007-05-25 20:00:06 +10:00
Andrew Tridgell
3c3ed0989e paraoid check for empty db on attach
(This used to be ctdb commit f46ecc15d8d6520a7bce721d915897deba84a54f)
2007-05-25 18:48:49 +10:00
Andrew Tridgell
613c6b9c4c new files for IP takeover
(This used to be ctdb commit 9232501a6bb9ee5d67a3b7cc87752d82ede162a6)
2007-05-25 17:16:50 +10:00
Andrew Tridgell
56e3eed3d1 added IP takeover logic for public IPs to ctdb
(This used to be ctdb commit 374adb729472670f35cef41269b8719f49c0de0e)
2007-05-25 17:04:13 +10:00
Andrew Tridgell
67677f7550 merge from ronnie
(This used to be ctdb commit 4a74c61785a6a0181112fb87356207ce9d4854f6)
2007-05-25 14:53:21 +10:00
Ronnie Sahlberg
2b6c39a0af 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)
2007-05-25 13:05:25 +10:00
Ronnie Sahlberg
ec25710fc0 merge from tridge
(This used to be ctdb commit 4041d78de3bf568ea12d6e5ae48791a5a5656aaa)
2007-05-24 16:06:23 +10:00
Andrew Tridgell
7596347844 make ctdbd realtime if possible
(This used to be ctdb commit 8852f6cca52b64a5239c83ab7c6a99ae4edb2597)
2007-05-24 14:52:10 +10:00
Andrew Tridgell
6ba5885f07 raise the control timeout in recovery
(This used to be ctdb commit 43424ff66daf28c202c12982f20a9f662b6fb125)
2007-05-24 13:49:27 +10:00
Andrew Tridgell
3909d83eef merge from ronnie
(This used to be ctdb commit f31e750760bd98e2214ea76f359824aca6f5826f)
2007-05-24 10:10:02 +10:00
Ronnie Sahlberg
2aface246e add a new command for ctdb_control to trigger a recovery
(This used to be ctdb commit 6da2a4ab1b9c955d55a1c6817506a74539623892)
2007-05-24 08:08:45 +10:00
Ronnie Sahlberg
19896a22b1 merge from tridge
(This used to be ctdb commit 74077fb37aaaef2682f4a5bbcf7bb88a5f4fca46)
2007-05-24 07:33:04 +10:00
Andrew Tridgell
5dc81da87e fixed %d which should be %u
(This used to be ctdb commit 2792cf718ff1e66fe99f870f683a13baa160f629)
2007-05-23 20:15:09 +10:00
Andrew Tridgell
296e15c9d4 fixed some memory leaks on the traverse code
(This used to be ctdb commit 2781cbb7d00c5448449216c8c0c1b37bdc74a6c0)
2007-05-23 20:06:37 +10:00
Andrew Tridgell
70912e2b0c added automatic vacuuming of empty records during recovery
(This used to be ctdb commit f9181a784ac7009df5e9c996f4e0c3e99098b59a)
2007-05-23 17:21:14 +10:00
Andrew Tridgell
3736943ead - get rid of ctdb_ctrl_get_config
- cope with zero timeout in ctdb_control

(This used to be ctdb commit 9f24689eb0ad6813f1ac78e033cdffe5d8afb128)
2007-05-23 15:18:30 +10:00
Andrew Tridgell
74bf76ca10 merge from ronnie
(This used to be ctdb commit 267481b67152bc5885884d223085aa9ef5fe73bd)
2007-05-23 14:50:41 +10:00
Andrew Tridgell
76b2822340 - 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)
2007-05-23 14:35:19 +10:00
Andrew Tridgell
9f7a70657f start ctdb frozen, and let the election sort things out. This prevents a race on startup
(This used to be ctdb commit b788ed3fa64e31e517b4e602e8bd3ae7201ecddd)
2007-05-23 12:23:07 +10:00
Andrew Tridgell
edf03e88c8 global lock should imply the transaction lock
(This used to be ctdb commit 765a7e27344476ea8835565839b69872ea6ab6f0)
2007-05-22 13:14:51 +10:00
Ronnie Sahlberg
e989a1bac8 add controls to enable/disable the monitoring of dead nodes
(This used to be ctdb commit 79d29c39bb81feb069db3fc6d3d392c1e75a4d13)
2007-05-21 09:24:34 +10:00
Ronnie Sahlberg
7c6bc59ae4 merge from tridge
(This used to be ctdb commit a0bf1f65d2ac0bd92ae24663c4239393404a2995)
2007-05-20 08:18:39 +10:00
Andrew Tridgell
c02fee6ed3 show ctdb control timeout
(This used to be ctdb commit 03921eacb942c7aa6b81236c6603dc640cefe2bf)
2007-05-19 21:11:06 +10:00
Andrew Tridgell
d549f1e1a3 merge from ronnie
(This used to be ctdb commit 985d718e03510398b9a5cfdf6a4d559a90738a11)
2007-05-19 17:21:58 +10:00