Rev 244: merge from ronnie in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Fri May 4 00:43:40 GMT 2007
------------------------------------------------------------
revno: 244
revision-id: tridge at samba.org-20070504004339-kn6qu8t7ek3z1co5
parent: tridge at samba.org-20070503071223-l9hybdfd0lwdswu0
parent: sahlberg at ronnie-20070503234553-4bf967bca57c0ba6
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Fri 2007-05-04 10:43:39 +1000
message:
merge from ronnie
added:
direct/recoverd.c recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
common/ctdb_client.c ctdb_client.c-20070411010216-3kd8v37k61steeya-1
common/ctdb_control.c ctdb_control.c-20070426122724-j6gkpiofhbwdin63-1
common/ctdb_recover.c ctdb_recover.c-20070503002147-admmfgt1oj6gexfo-1
include/ctdb.h ctdb.h-20061117234101-o3qt14umlg9en8z0-11
include/ctdb_private.h ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
tests/ctdbd.sh ctdbd.sh-20070411085038-phusiewluwzyqjpc-2
tools/ctdb_control.c ctdb_control.c-20070426122705-9ehj1l5lu2gn9kuj-1
------------------------------------------------------------
revno: 197.1.49
merged: sahlberg at ronnie-20070503234553-4bf967bca57c0ba6
parent: sahlberg at ronnie-20070503230101-9fc8d7cbbc2fc6b8
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Fri 2007-05-04 09:45:53 +1000
message:
update getvnnmap control to take a timeout parameter
dont explicitely free the vnnmap pointer in the getvnnmap control this
is freed by the mem_ctx instead
add code to the recoverd to detect when/if recovery is required
veiry that the number of active nodes, the nodemap and the vnn map is
consistent across the entire cluster and if not trigger a recovery
(which right now just prints "we need to do recovery" to the screen.
------------------------------------------------------------
revno: 197.1.48
merged: sahlberg at ronnie-20070503230101-9fc8d7cbbc2fc6b8
parent: sahlberg at ronnie-20070503223202-6defdbe314660e83
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Fri 2007-05-04 09:01:01 +1000
message:
change the signature for ctdb_ctrl_getnodemap() so that a timeout
parameter is added.
change ctdb_get_connected_nodes in the same way
------------------------------------------------------------
revno: 197.1.47
merged: sahlberg at ronnie-20070503223202-6defdbe314660e83
parent: sahlberg at ronnie-20070503223018-0799fc78283a686f
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Fri 2007-05-04 08:32:02 +1000
message:
ctdb_control should use the provided timeout and not hardcode to 1.0
seconds
------------------------------------------------------------
revno: 197.1.46
merged: sahlberg at ronnie-20070503223018-0799fc78283a686f
parent: sahlberg at ronnie-20070503071638-802462107800a0a8
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Fri 2007-05-04 08:30:18 +1000
message:
start working on a recovery daemon
change ctdb_control so it takes a timeval pointer as argument.
this is the timeout. if the node has not responded within hte timeout
ctdb_control will return an error instead of hanging.
if the timeval pointer is NULL then the call will block indefinitely if
there is no response.
this is used for now in the createdb control but all the helpers
ctdb_ctrl_* should probably be updated to take a timeout parameter as
well.
------------------------------------------------------------
revno: 197.1.45
merged: sahlberg at ronnie-20070503071638-802462107800a0a8
parent: sahlberg at ronnie-20070503061803-7e09396b07253194
parent: tridge at samba.org-20070503071223-l9hybdfd0lwdswu0
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-05-03 17:16:38 +1000
message:
merge from tridge
------------------------------------------------------------
revno: 197.1.44
merged: sahlberg at ronnie-20070503061803-7e09396b07253194
parent: sahlberg at ronnie-20070503044253-a4389b52c03c42ba
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-05-03 16:18:03 +1000
message:
cleanup the control "write record"
------------------------------------------------------------
revno: 197.1.43
merged: sahlberg at ronnie-20070503044253-a4389b52c03c42ba
parent: sahlberg at ronnie-20070503033038-5042e3eb473e382c
parent: tridge at samba.org-20070503035354-r8chwmgxqwl5o8fx
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Thu 2007-05-03 14:42:53 +1000
message:
merge from tridge
Diff too large for email (1019, the limit is 200).
More information about the samba-cvs
mailing list