------------------------------------------------------------
revno: 581
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-07-18 20:13:57 +1000
message:
merged from ronnie
added:
common/system_aix.c system_aix.c-20070714002637-rpu7y2dxeoh1ckej-1
renamed:
common/system.c => common/system_linux.c
system.c-20070525071636-a5n1ihghjtppy08r-3
modified:
Makefile.in makefile.in-20061117234101-o3qt14umlg9en8z0-1
config/events.d/61.nfstickle 61.nfstickle-20070706005204-6etuzuk8b86aoua5-1
config/functions functions-20070601105405-gajwirydr5a9zd6x-1
configure.ac configure.ac-20061117234101-o3qt14umlg9en8z0-10
include/ctdb_private.h
ctdb_private.h-20061117234101-o3qt14umlg9en8z0-13
server/ctdb_takeover.c
ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
common/system_linux.c system.c-20070525071636-a5n1ihghjtppy08r-3
------------------------------------------------------------
revno: 432.1.151
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-07-16 08:36:09 +1000
message:
add a check if start_node is beyond the end of the nodemap and reset it
back to 0 if it is to prevent an infinite loop.
this could happen if in the future we add a mechanism to add/remove
nodes to a cluster at runtime
------------------------------------------------------------
revno: 432.1.150
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Mon 2007-07-16 08:28:44 +1000
message:
change the way we pick/find a new node to takeover for a failed node
to keep a static that controls at which noide to start searching the
list for takeover candidates next time we need to find a node.
each time we find a node to takeover, reset the start variable to point
to the next node in the list
this makes the distribution of takeover nodes much more even
------------------------------------------------------------
revno: 432.1.149
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 11:43:11 +1000
message:
we dont do nfstickles unless ctdb manages nfs
------------------------------------------------------------
revno: 432.1.148
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 11:37:22 +1000
message:
fix bug introduced in previous commit
------------------------------------------------------------
revno: 432.1.147
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 11:28:53 +1000
message:
there is no point in doing anything in 10.interfaces unless we have a
public interface
------------------------------------------------------------
revno: 432.1.146
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 09:29:08 +1000
message:
try netstat as a last attempt to check a tcp port in
ctdb_check_tcp_ports() as well
------------------------------------------------------------
revno: 432.1.145
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 09:26:54 +1000
message:
if we dont have nc or netcat, try using netstat as a final attempt to
check for tcp ports
(the check for these tools should not really use hardcoded paths)
------------------------------------------------------------
revno: 432.1.144
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 09:13:50 +1000
message:
if we dont have /etc/sysconfig and we dont have /etc/default
check /etc/ctdb/sysconfig as a last option
------------------------------------------------------------
revno: 432.1.143
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sun 2007-07-15 08:54:48 +1000
message:
when we have found that /etc/rc.d/init.d/SERVICE exists, then run that
script and not /etc/rc.d/SERVICE
------------------------------------------------------------
revno: 432.1.142
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sat 2007-07-14 15:16:52 +1000
message:
add some configure magic to make it configure and build properly on
linux and aix
------------------------------------------------------------
revno: 432.1.141
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sat 2007-07-14 10:58:51 +1000
message:
add some support for controlling Linux or AIX in the makefile
this should really be done by configure
------------------------------------------------------------
revno: 432.1.140
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Sat 2007-07-14 10:27:34 +1000
message:
add an initial system_aix.c to manage raw sockets under aix
------------------------------------------------------------
revno: 432.1.139
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-07-13 17:10:09 +1000
message:
update the comment at the top of file to reflect the purpose of the file
------------------------------------------------------------
revno: 432.1.138
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-07-13 17:07:10 +1000
message:
add a private_data field to the killtcp structure and let the system
specific routines populate it as it see fit when creating a
capture socket.
pass this structure to read_tcp and close capture socket as parameter
------------------------------------------------------------
revno: 432.1.137
merged: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Ronnie Sahlberg <[EMAIL PROTECTED]>
branch nick: ctdb
timestamp: Fri 2007-07-13 11:30:19 +1000
message:
merge from tridge
Diff too large for email (633, the limit is 200).