Rev 581: merged from ronnie in http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Wed Jul 18 10:13:58 GMT 2007
------------------------------------------------------------
revno: 581
revision-id: tridge at samba.org-20070718101357-gv3ugzegujz4f5vu
parent: tridge at samba.org-20070713015558-e64j98erir39vx29
parent: sahlberg at ronnie-20070715223609-414am63j2rn2lawv
committer: Andrew Tridgell <tridge at samba.org>
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: sahlberg at ronnie-20070715223609-414am63j2rn2lawv
parent: sahlberg at ronnie-20070715222844-49zhsosm0e9ae2v0
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070715222844-49zhsosm0e9ae2v0
parent: sahlberg at ronnie-20070715014311-uxqxc19ksjj92frw
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070715014311-uxqxc19ksjj92frw
parent: sahlberg at ronnie-20070715013722-szkpxpjkiudv5da3
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070715013722-szkpxpjkiudv5da3
parent: sahlberg at ronnie-20070715012853-7t4dvbipm0o1nj0l
committer: Ronnie Sahlberg <sahlberg at ronnie>
branch nick: ctdb
timestamp: Sun 2007-07-15 11:37:22 +1000
message:
fix bug introduced in previous commit
------------------------------------------------------------
revno: 432.1.147
merged: sahlberg at ronnie-20070715012853-7t4dvbipm0o1nj0l
parent: sahlberg at ronnie-20070714232908-ygmyqkd1iopb25wf
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714232908-ygmyqkd1iopb25wf
parent: sahlberg at ronnie-20070714232654-t5benaykp8kyli9z
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714232654-t5benaykp8kyli9z
parent: sahlberg at ronnie-20070714231350-vxylgh14emrcyc6b
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714231350-vxylgh14emrcyc6b
parent: sahlberg at ronnie-20070714225448-sfkg5135qsh4agzk
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714225448-sfkg5135qsh4agzk
parent: sahlberg at ronnie-20070714051652-q0o6e9cmtq6dg60z
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714051652-q0o6e9cmtq6dg60z
parent: sahlberg at ronnie-20070714005851-a4giczz47t7y3ggm
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714005851-a4giczz47t7y3ggm
parent: sahlberg at ronnie-20070714002734-ucq7szqes2d7y65y
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070714002734-ucq7szqes2d7y65y
parent: sahlberg at ronnie-20070713071009-zvefbm70p732w0ai
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070713071009-zvefbm70p732w0ai
parent: sahlberg at ronnie-20070713070710-rwtccszc2mrukg83
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070713070710-rwtccszc2mrukg83
parent: sahlberg at ronnie-20070713013019-qn383nqhiwihkp8k
committer: Ronnie Sahlberg <sahlberg at ronnie>
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: sahlberg at ronnie-20070713013019-qn383nqhiwihkp8k
parent: sahlberg at ronnie-20070712014330-de69aa5ybstd6eik
parent: tridge at samba.org-20070713013118-tc4gxjsqihdzepir
committer: Ronnie Sahlberg <sahlberg at ronnie>
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).
More information about the samba-cvs
mailing list