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
Andrew Tridgell
bc1aed395c
added a new persistent transaction test program
...
(This used to be ctdb commit d5dcb46e182466e4b51c106f2491178c23babd8d)
2008-07-30 19:55:54 +10:00
Andrew Tridgell
abe0232818
rename the structure we use for marshalling multiple records
...
(This used to be ctdb commit 4d205476d286570a6e1f52b59af42858ce051106)
2008-07-30 14:24:56 +10:00
Andrew Tridgell
bf32a8e6c3
cleanup on SIGINT
...
(This used to be ctdb commit 008533d971aec9c28c6e4750ef4677dd943633ff)
2008-07-30 13:21:02 +10:00
Andrew Tridgell
b7e9d0dccf
- cleanup persistent db at start
...
- catch SIGINT and kill daemons
(This used to be ctdb commit d3f5d75665a78ae0081fda57e58384b27a6ae396)
2008-07-30 13:20:47 +10:00
Andrew Tridgell
9c10147fc1
- show pids during test
...
- don't use first_time, as it is not safe for multiple
clients on a node
(This used to be ctdb commit 22f737be0e70fc043affaa4f953f60d852b7999a)
2008-07-30 13:20:24 +10:00
Ronnie Sahlberg
e8c1785f2b
new version 1.0.51
...
(This used to be ctdb commit ded1a974cdd86b436c6e5cba27069d1a3796dbe9)
2008-07-28 17:11:15 +10:00
Ronnie Sahlberg
78beb27966
From Alexander Saupp.
...
If we use vlan tagging and bonding we must strip the vlan part off the name
so we can check the main bonde device for status.
I.e. check bond0 instead of bond0.<VLANTAG>
(This used to be ctdb commit 795c190b004d404b84dda053593139ed51d345e5)
2008-07-28 17:07:44 +10:00
Andrew Tridgell
71f0641dda
run the testparm commands in 50.samba in the background, only running
...
in the foreground if something fails
(This used to be ctdb commit b1fed105ad780e89a128a611ef0bd659818eeebf)
2008-07-23 15:36:23 +10:00
Andrew Tridgell
4eac51341c
allow for probing of directories without raising an error
...
(This used to be ctdb commit 8fed021d11160b137f4140ea02947347250e2959)
2008-07-23 15:35:46 +10:00
Andrew Tridgell
79793708a4
fixed buffering in ctdb logging code to handle multiple lines
...
correctly
(This used to be ctdb commit e8ef9891aa31c374921b23cc74e1eda1f8218bf0)
2008-07-23 15:25:52 +10:00
Ronnie Sahlberg
1bfcca524d
From Michael Adams,
...
change one element from private to private_data
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
(This used to be ctdb commit 0de79352c9b36c118e36905f08ebbe38ecbb957e)
2008-07-22 09:07:42 +10:00
Ronnie Sahlberg
3637add42b
new version 1.0.50
...
(This used to be ctdb commit b08a988fbdad0da850c9b79791c1a8970555147f)
2008-07-18 13:49:05 +10:00
Ronnie Sahlberg
dbb7a1278e
Merge git://git.samba.org/tridge/ctdb
...
(This used to be ctdb commit eca73bcaa33f88c683b79d57d85b590659018ad8)
2008-07-18 13:42:39 +10:00
Andrew Tridgell
87e19f1f9d
fixed a bug where we would look for a signal past the end of the
...
signal arrays
This could cause the events code to get into a loop chewing CPU
(This used to be ctdb commit e24152fbd06ba4c2b6cfd473751c7f00a676b9ae)
2008-07-18 13:46:01 +10:00
Ronnie Sahlberg
d0707c98c0
if a new node enters the cluster, that node will already be frozen at start
...
but the rest of the nodes are not frozen.
at this stage an election is called by the new node.
Since in this case the nodes are not froze, we can not modify the recmaster
of the nodes so it is expected that this control would fail.
Add a boolean to send_election_request() to make it not
try to set the recmaster locally for the case where we are in an election phase
while not frozen.
(This used to be ctdb commit c5035657606283d2e35bea40992505e84ca8e7be)
2008-07-18 12:07:25 +10:00
Ronnie Sahlberg
66919db3d7
We can not assume that just because we could complete a TCP handshake
...
to the remote node that
1, we are in fact talking to a CTDB daemon
2, that IF we are talking to a ctdb daemon, it is operational.
So, we can not blindly mark the node as CONNECTED just because
we can open a TCP connection.
Instead we rely on "If we did get a KEEPALIVE from the remote node,
is is connected"
(This used to be ctdb commit 60e2cb175c449ae65793a3e1ffb60cf030a3a0d5)
2008-07-18 10:59:34 +10:00
Ronnie Sahlberg
6d5f96c249
lower a debug statement
...
(This used to be ctdb commit 3d58f9b524a40c7b43a2a855212db090e9becefa)
2008-07-18 10:41:18 +10:00
Ronnie Sahlberg
8b520bcb5f
lower a debug message
...
(This used to be ctdb commit 554dcf16d37c8b9e4704df11d21fb272f30f5cec)
2008-07-18 10:38:51 +10:00
Ronnie Sahlberg
68d01c59b2
Allow the fix-to-make-persistent-writes-safer work with unpatched samba versions
...
(This used to be ctdb commit 52716d26eb84104d65828bed38e69f214a5fa824)
2008-07-17 18:53:54 +10:00
Ronnie Sahlberg
90ff67dc74
Only decrement the "number of persistent writes in flight" If/when
...
it is >0 or we will break if used against an unpatched samba server
(This used to be ctdb commit 52a38487f981fd5981c02a7a063ad2c598591c10)
2008-07-17 18:47:20 +10:00
Andrew Tridgell
7fea1f76cf
Merge commit 'ronnie/master'
...
(This used to be ctdb commit af38c8d4cc03e1b5a314ea2338346c5f8c80aa95)
2008-07-17 18:45:15 +10:00
Ronnie Sahlberg
b9ba443da3
new version 1.0.48
...
(This used to be ctdb commit ccf9334bd20b1398623dd649987aa15119dac14e)
2008-07-17 13:56:17 +10:00
Ronnie Sahlberg
6eb4e46fe1
Add two new controls to start and cancel a persistent update.
...
This allows ctdb to automatically start a new full blown recovery
if a client has started updating the local tdb for a persistent database
but is kill -9ed before it has ensured the update is distributed clusterwide.
(This used to be ctdb commit 1ffccb3e0b3b5bd376c5302304029af393709518)
2008-07-17 13:50:55 +10:00
Ronnie Sahlberg
0964c59dc6
Do not allow "ctdb eventscript" to start new eventscripts while we are in recovery mode
...
(This used to be ctdb commit 8140825e1d06053a900fd0adf0a150622c0fc146)
2008-07-17 09:04:15 +10:00