1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

1806 Commits

Author SHA1 Message Date
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
Andrew Tridgell
eaaa6e7774 ensure we use killtcp on non-NFS/non-CIFS ports for faster failover of
other protocols

(This used to be ctdb commit 09aa91224fe7b835dc0a2c58868cce28ce54809f)
2008-08-04 14:55:20 +10:00
Andrew Tridgell
78acc59784 implemented replayable transactions in ctdb to prevent deadlock
(This used to be ctdb commit b6d9a0396fb4b325778d3810dc656f719f31b9f1)
2008-08-04 14:51:51 +10:00
Andrew Tridgell
8d76f55bfc we need an additional gratuitous arp before the NFS tickles
(This used to be ctdb commit f7a70a5f9043b1d7293a515abf5b5228365693da)
2008-08-01 14:23:15 +10:00
Andrew Tridgell
d47fe5f83b ensure we use killtcp on non-NFS/non-CIFS ports for faster failover of
other protocols

(This used to be ctdb commit aefcb1f817581ac8cd67712d07159fc802f96623)
2008-08-01 14:17:50 +10:00
Andrew Tridgell
ae2b9ee17f fixed some warnings
(This used to be ctdb commit fe55bfc8fb6dc628f72f220843e829a251d09936)
2008-07-30 19:59:54 +10:00
Andrew Tridgell
446295f257 fixed a warning
(This used to be ctdb commit 3a71844cfdb9fe69208030432ddb547b0e215726)
2008-07-30 19:59:42 +10:00
Andrew Tridgell
5e969d7a6c cleanup of the old persistent db test
(This used to be ctdb commit 306af4ccef132ea023f1f01e11f877a3a742ee4c)
2008-07-30 19:59:34 +10:00
Andrew Tridgell
cf739ac892 renamed the pulldb structure to a ctdb_marshall_buffer
(This used to be ctdb commit bad53b2d342bb9760497e6f4a61e64ca50d6e771)
2008-07-30 19:59:18 +10:00
Andrew Tridgell
ca3eaf87e1 make sure we honor the TDB_NOSYNC flag from clients in the server
(This used to be ctdb commit 9806d18b93218c216d538e28f9ed495269f0a938)
2008-07-30 19:58:49 +10:00
Andrew Tridgell
237e2f5409 new prototypes
(This used to be ctdb commit 71d9d24abae62f70acbd7c1ded8af0b817607c2a)
2008-07-30 19:58:27 +10:00
Andrew Tridgell
b8e93a9233 added marshalling helper functions
(This used to be ctdb commit 12087e7d751a8756076662cd8db5dcf35316c0c5)
2008-07-30 19:58:17 +10:00
Andrew Tridgell
5672c421d1 we don't need ctdb_ltdb_persistent_store() any more
(This used to be ctdb commit 2bc7f3aef4668bd1680db87ef215c349280a84f2)
2008-07-30 19:58:03 +10:00
Andrew Tridgell
dfd3c53080 added client side functions for new transaction code
(This used to be ctdb commit aab710f1c6bcdfd8ff2992f8adc15933276dc39e)
2008-07-30 19:57:48 +10:00
Andrew Tridgell
98502135e7 added new multi-record transaction commit code
(This used to be ctdb commit 9ff3380099fe6f4d39de126db0826971a10ee692)
2008-07-30 19:57:00 +10:00