1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

1820 Commits

Author SHA1 Message Date
Ronnie Sahlberg
7a78a78a1c From C Cowan.
Patch to make AIX compile with the new ipv6 additions.

(This used to be ctdb commit e26ce5140ed005725f8b7ac8ba23a180fd7d5337)
2008-09-08 08:57:42 +10:00
Ronnie Sahlberg
70c7525a02 zero out the address structure to keep valgrind happy
(This used to be ctdb commit 8060e591b0eb2d184b5a7444487477225d2e1dbf)
2008-08-29 12:26:02 +10:00
Ronnie Sahlberg
589dcbe8cb new version 1.0.58
(This used to be ctdb commit c4bc4317df4106e81b238dbfaf861ca6104304c1)
2008-08-27 10:26:34 +10:00
Ronnie Sahlberg
a35fa0aa8f rename ctdb_tcp_client back to the original name ctdb_control_tcp
(This used to be ctdb commit 4d1c0418cfe6170bc081684dbe45908a5d285f0b)
2008-08-27 10:24:35 +10:00
Ronnie Sahlberg
18b10d400d From Abhijith Das <adas@redhat.com>:
Fixup the initscript sdo it passes rpm-lint

(This used to be ctdb commit f84d0a9a8c7e9589e8833f21e1f977a0adab356b)
2008-08-25 10:13:18 +10:00
Ronnie Sahlberg
b99a88f0b3 Add a "reload" option to the initscript.
(This used to be ctdb commit 2a8bf5e7dc7364a8280d96db0f9579d2582a8524)
2008-08-25 10:03:16 +10:00
Ronnie Sahlberg
413b28bfdd add a link to my webpage
(This used to be ctdb commit 0709093af11e0735ed1e13b06ac073990631e692)
2008-08-25 09:41:08 +10:00
Ronnie Sahlberg
c1be066611 version 1.0.57 : initial ipv6 support
(This used to be ctdb commit 7da0c65c8526d66d4f2a788bd646d39237befa54)
2008-08-25 08:52:29 +10:00
Ronnie Sahlberg
ddf2de2154 Do not fail the takeip event if the "ip addr add ..." command failed.
Let the event complete successfully.   the local recovery daemon will check that we have the address and reissue takip othervise.

There are several reasons why "ip addr add "  can fail, one is a misconfiguration
anothe ris that for ipv6 the stack is a lot more picky than for ipv4.     for examplke this WILL fail in ipv6 if there is a duplicate ip address on the network.

thus  this check could cause rolling-recoveries  which is why it has to go

(This used to be ctdb commit 12bc85c90a640a72ff538c003eb81da9dd1f2e3f)
2008-08-22 09:25:47 +10:00
Ronnie Sahlberg
d83fc7e389 when we collect all ip addresses and sort them for the "ctdb ip -n all" output we must look at more than just the first 4 bytes of the sockaddr address or ipv6 wont work
(This used to be ctdb commit 4dfbfb4618433d9ed79ca1bdb1e2e51d96d4ee62)
2008-08-22 09:09:08 +10:00
Ronnie Sahlberg
9ce657b044 When we harvest all tcp connections to kill off after a takeip/releaseip event we must also harvest the ipv4 connections which may be presented in ::ff:xxxx:xxxx form by netstat
(This used to be ctdb commit 293d12a40501320a21efaf592b8f20e8590a5197)
2008-08-20 12:50:50 +10:00
Ronnie Sahlberg
eb23d7b6d4 we must canonicalize the sockaddr structures in killtcp so that we do the necessary downgrade if required
(This used to be ctdb commit 2f8b33948e395228cbac3450c0c684e49069abf0)
2008-08-20 12:02:54 +10:00
Ronnie Sahlberg
5193caec6d make the function to canonicalize a sockaddr structure public
(This used to be ctdb commit 1157d61a0bc557d8ffc453c518dfc48473492bfd)
2008-08-20 11:58:27 +10:00
Ronnie Sahlberg
da1c17bf46 when we compare ip addresses in ctdb_same_ip we must first canonicalize the addresses so that we realize that 127.0.0.1:22 is really the same thing as ::ffff:127.0.0.1:22
Downgrade all AF_INET6 ::ffff:xxxx:xxxx sockaddresses into AF_INET ones

(This used to be ctdb commit b0fe4c45fc5ba1ecf62ebb921092c8a34e28a2bd)
2008-08-20 11:52:36 +10:00
Ronnie Sahlberg
43536648c5 update the socketkiller in the eventscripts to be able to handle ipv6
(This used to be ctdb commit 6da7b36b7ccc4ee9b809867ea32036f09a801bb3)
2008-08-20 09:47:00 +10:00
Ronnie Sahlberg
8e17e75eac fix a bug in the tcp socketkiller for ipv6
(This used to be ctdb commit 83735951352a243da185031e4853e7e40c43a0fb)
2008-08-20 09:23:31 +10:00
Ronnie Sahlberg
37234887d9 fix the ipv6 checksum calculation for pseudoheader so that it actually works
add support to send ipv6 "gratious arp" aka neighbor solicitation packets from ctdb

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit 0a38ea11af9237501f2951fee698a59b46f8750d)
2008-08-19 18:24:08 +10:00
Ronnie Sahlberg
342408d75e remove a file we dont need
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit bf6effef0cc9e5f2eeeb38fce855a90624a76239)
2008-08-19 14:58:57 +10:00
Ronnie Sahlberg
ef997d344f initial ipv6 patch
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit 1f131f21386f428bbbbb29098d56c2f64596583b)
2008-08-19 14:58:29 +10:00
Ronnie Sahlberg
ed6ca6a84d use a local tdb_traverse instead of a ctdb_pulldb to lessen the impact of the system while performing a database backup
(This used to be ctdb commit 48fad9c06185a1f2580473cac02b3722e35c2023)
2008-08-14 10:57:08 +10:00
Ronnie Sahlberg
d793154dbb only freeze the local node when doing a backup and not the entire cluster
(This used to be ctdb commit ff413beb4bb31e277e843235a1ce5e5ad7b92c71)
2008-08-14 09:52:23 +10:00
Ronnie Sahlberg
748cf6f274 store the database name, not the backup filename in the database header
(This used to be ctdb commit 0674b33a7492cc1a194833f5ca87d8b30457faee)
2008-08-14 08:36:39 +10:00
Ronnie Sahlberg
6f5ee6b5cc Encode a file version number in the database backup header
Encode the database name in the header so we dont need to provide the database
name when doing a restore
Encode a timestamp in the header telling us when the backup was created

(This used to be ctdb commit 77762170ad1dbc4620565bb898af5d493fac117d)
2008-08-14 08:35:19 +10:00
Ronnie Sahlberg
65ae40d4a9 Add two new ctdb commands :
ctdb backupdb : which will copy a database out from ctdb and write it to a file
ctdb restoredb : which will read a database backup from a file and write it into ctdb

(This used to be ctdb commit b567e215f5c58d646a392408b9cc1df8ef029b33)
2008-08-13 22:03:29 +10:00
Andrew Tridgell
af0cdb779f fixed merge
(This used to be ctdb commit c4ad24e7c2b27b168d43ebfa95c459da27697d1e)
2008-08-12 00:10:48 +10:00
Andrew Tridgell
b4425e7aa8 up release version
(This used to be ctdb commit 7769edbd5507f791e77cc5e5642d854bebec2df0)
2008-08-11 23:52:46 +10:00
Ronnie Sahlberg
0e3baef65a new version 1.0.56
(This used to be ctdb commit 196973fef38a9b258e0976d5454161d11d573ddc)
2008-08-11 23:50:42 +10:00
Andrew Tridgell
a10802ab5f Merge commit 'ronnie/master'
(This used to be ctdb commit fb7f69b1d6dd8b0715258dde736dc03e1c5e43aa)
2008-08-11 23:33:46 +10:00
Andrew Tridgell
76528cfc6b fixed a memory leak in the recovery daemon
thanks to vl for spotting this

(This used to be ctdb commit 96df98d9f86ecc6bb1a458eb2101e5c1bc0f96e6)
2008-08-11 23:33:05 +10:00
Ronnie Sahlberg
bef21da483 fix the date soe rpmbuild works
(This used to be ctdb commit c94b295b078dc009c18aa416d0de232a12241014)
2008-08-11 10:36:38 +10:00
Ronnie Sahlberg
4ec495abca new version 1.0.55
(This used to be ctdb commit 29aaa339ef745208fb0b746db5cbc3a32d0d81b2)
2008-08-11 10:33:22 +10:00
Andrew Tridgell
1431210d46 fixed send of release IP message
(This used to be ctdb commit db6bc3745a56cc12e60e727190a098a6527690d6)
2008-08-08 22:06:39 +10:00
Ronnie Sahlberg
ba502da53f Merge git://git.samba.org/tridge/ctdb
(This used to be ctdb commit 3059ab5f3f21e331b80728773c36a74620e46677)
2008-08-08 13:11:07 +10:00
Andrew Tridgell
6e86fa34bd added retry handling in client
(This used to be ctdb commit b3b9707dd8244758ff1080401a9e03e74766e1ab)
2008-08-08 13:11:41 +10:00
Andrew Tridgell
aa1bc0abba added a new control CTDB_CONTROL_TRANS2_COMMIT_RETRY so we can tell
the difference between a initial commit attempt and a retry, which
allows us to get the persistent updates counter right for retries

(This used to be ctdb commit 7f29c50ccbc7789bfbc20bcb4b65758af9ebe6c5)
2008-08-08 13:11:28 +10:00
Andrew Tridgell
f2fd0d8b59 imported failure handling from dbwrap_ctdb.c
(This used to be ctdb commit 7c6b621f7307dc39ffcd7d965ac613642af201b8)
2008-08-08 11:04:21 +10:00
Ronnie Sahlberg
fd1f5b496d Merge git://git.samba.org/tridge/ctdb
(This used to be ctdb commit e75cc3a030a8ccb43961cf80ff10d41ec81a24b0)
2008-08-08 10:59:40 +10:00
Andrew Tridgell
dfdb41350b save writing the same data twice
(This used to be ctdb commit 2426b9010ef45f5e96ffc12b8a69a3b0566b4f98)
2008-08-08 10:15:23 +10:00
Ronnie Sahlberg
1da433254c new version 1.0.54
(This used to be ctdb commit a4814aa8b0b165b9d6c4c55fc5aee33cd1a570bd)
2008-08-08 10:01:20 +10:00
Andrew Tridgell
e1fe26051b up release number
(This used to be ctdb commit 7ed5fbe7fa3bc3cb729d9b516d2a73d52e28d22d)
2008-08-08 10:00:33 +10:00
Andrew Tridgell
5a0249d34c return a more detailed error code from a trans2 commit error
(This used to be ctdb commit 6915661a460cd589b441ac7cd8695f35c4e83113)
2008-08-08 09:58:49 +10:00
Andrew Tridgell
66d154ef5f Merge commit 'ronnie/1.0.53'
(This used to be ctdb commit 58e6dc722ad1e2415b71baf1d471885169dde14d)
2008-08-08 00:48:19 +10:00
Andrew Tridgell
5ee51ae84e fixed a looping error bug with the new transactions code
(This used to be ctdb commit 0592ba2a4fbd1b3b7a6bd0780eadbd6d449baaad)
2008-08-08 00:44:33 +10:00
Ronnie Sahlberg
2ffa38ad59 new version 1.0.53
this adds completely new transaction code for persistent databases

(This used to be ctdb commit bcbac6724840cdabe55e38a4c62779f853bd09ba)
2008-08-07 18:57:24 +10:00
Ronnie Sahlberg
31fcc1bbb2 Merge git://git.samba.org/tridge/ctdb
(This used to be ctdb commit 66c61137a5c01afcbae329ffbe121e78ae087399)
2008-08-07 18:50:48 +10:00
Andrew Tridgell
bbedba23c7 cover some corner cases where the persistent database could become
inconsistent

(This used to be ctdb commit c76c214be401cb116265ed17ffe6c77c979ded82)
2008-08-07 13:34:18 +10:00
Ronnie Sahlberg
b9d8bb23af remove the reclock file we store pnn counts in.
This file creates additional locking stress on the backend filesystem and we may not need it anyway.

(This used to be ctdb commit 84236e03e40bcf46fa634d106903277c149a734f)
2008-08-06 11:52:26 +10:00
Ronnie Sahlberg
45d9ada085 Merge git://git.samba.org/tridge/ctdb
(This used to be ctdb commit 14f2f719e6ddc266aafde4d4bf80ed3a01e145fe)
2008-08-06 09:17:41 +10:00
Ronnie Sahlberg
bb154c8de6 New version 1.0.52
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

(This used to be ctdb commit a9bce1ac9794f108825190948f404c864a533435)
2008-08-04 14:58:52 +10:00
Andrew Tridgell
5ac8bf15e2 we need an additional gratuitous arp before the NFS tickles
(This used to be ctdb commit d1d48f8661d83b01de6c552ee70021acdc6384cb)
2008-08-04 14:55:44 +10:00