Commit Graph

66 Commits

Author SHA1 Message Date
Steven Dake
97649da204 (Logical change 1.47)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@147 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Steven Dake
0385d9ba49 Add function in exec/clm to get the full cluster node information
for any node in the cluster membership

(Logical change 1.47)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@146 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Mark Haverkamp
b04e9c5d16 Added event code and dependencies.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@144 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
3cdfc4a3ec added event service handler.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@139 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
7f9da22767 added event service.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@138 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
cba04f10c5 (Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@135 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
9dc4b066ad Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@134 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:42 +00:00
Steven Dake
9783e8d172 Add source_addr to exec message handler for event service.
(Logical change 1.45)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@131 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
71bf042ce9 Major cleanup and use hdb.c abstracted out functions
now instead of internal hacked together stuff that was
there previously.

(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@130 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
105dfeb76e Major cleanup to use hdb.c handle database functions.
(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@128 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
3d098438ec Add hdb.c to the build.
(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@127 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
f6c12e54d9 (Logical change 1.44)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@126 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
13180ca19b Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@125 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:46 +00:00
Steven Dake
f446ed6a5b Remove BINDTODEVICE socket option and replace with MULTICAST_IF
to be more portable and require less root privs.

(Logical change 1.42)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@121 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-26 22:17:36 +00:00
Steven Dake
7298c7d9c0 Major improvements to fragmentation. It works alot better now.
(Logical change 1.39)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@114 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-15 00:03:02 +00:00
Steven Dake
69c97fb5ff Allow NULL delivery_fn in gmi_join. This basically has no
effect but allows the processor to participate in multicasting
and membership.

(Logical change 1.38)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@112 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:20:56 +00:00
Steven Dake
7f49b68e27 Extraneous tokens were not being rejected on token retransmits
that occurred during configuration changes.  The result was bad
behavior, especially with larger rings.  Also cleaned up the
token retransmit timer to be deleted if necessary.

(Logical change 1.37)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@110 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:19:43 +00:00
Steven Dake
dc3e957f9b Add ip to deliver_fn callback
(Logical change 1.36)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@108 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:51:52 +00:00
Steven Dake
7e0c9753ea Add ip to deliver_fn callback
Add ip to deliver_fn callback
Add ip to deliver_fn callback

(Logical change 1.36)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@106 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:51:52 +00:00
Steven Dake
6e980d7b47 Removed something that was necessary in last changeset.
(Logical change 1.35)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@105 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:48:48 +00:00
Steven Dake
33a8e4f137 Fix debug exit.
(Logical change 1.34)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@102 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 21:46:02 +00:00
Steven Dake
263b91f277 Auto merged
2004/07/12 14:37:13-07:00 mvista.com!sdake
When a processor left the membership, the next configuration would sometimes
cause a form token timeout.  While not particularly harmful, it was wasteful
and not part of the original design of the group messaging protocol.
There was some extra junk code that was added to workaround some other bug
that has since been fixed.
This junk code removed and now the form token never times out (woohoo).
Also removed some extra code that calculates the next ORF processor twice.
We only really need to do it once.

(Logical change 1.33)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@100 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 21:40:31 +00:00
Steven Dake
d886159e29 Add retransmit of token if no multicast or token received
within a timeout period (100 msec).  This helps avoid
a reconfiguration when only the token is lost, but no
real configuration changes have occured.

(Logical change 1.32)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@98 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 04:16:02 +00:00
Steven Dake
447bfc6813 Clean up warnings found with -pedantic.
(Logical change 1.30)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-11 07:22:12 +00:00
Steven Dake
d33384faea Fixes build problem with rename of aispoll.c.
(Logical change 1.29)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@91 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-10 03:57:32 +00:00
Steven Dake
a16954f562 Removes this_ip external dependency and instead copies the
bound to address to storage local to the group messaging
interface.

(Logical change 1.29)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@90 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-10 03:57:32 +00:00
Steven Dake
cc11e4db80 Rename: exec/poll.h -> exec/aispoll.h
}(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@89 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
844937b6cd Rename: exec/poll.h -> exec/aispoll.h
(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@87 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
fc3435c50d Rename: exec/poll.c -> exec/aispoll.c
(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@86 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
9524f13926 Rename: exec/poll.c -> exec/aispoll.c
}(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@85 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
295d70a3c8 Rename poll.h to aispoll.h
(Logical change 1.28)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@84 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
a8b9d96da0 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@83 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:40 +00:00
Steven Dake
619fc3a59d Fix a merge problem with the previous update to the amf with
the conn_info structure.
the track list was not being initialized at start.

(Logical change 1.27)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@82 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-08 20:47:25 +00:00
Steven Dake
e95e1e25cc Fix a couple merge problems with the previous update to clm with the
conn_info structure.
the track list was not being initialized.  When track start was called
the tracking wasn't added to a list.  When track stop was called
the tracking was not deleted.
The result of all this is that cluster membership tracking was broken
previously.

(Logical change 1.27)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@80 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-08 20:47:25 +00:00
Steven Dake
3f9257a297 Fix build errors after previous commit.
(Logical change 1.25)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@77 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:05:19 +00:00
Steven Dake
47a9710196 pass conn_info to all messages instead of file descriptor.
This requires changing the initialization phase of the socket
and all calls made.

(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@75 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
8c8c71917c store conn_info field is component structure.
(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@72 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
df2c3c4918 pass conn_info to all messages instead of file descriptor.
(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@71 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
2efdb4258c pass conn_info to all messages instead of file descriptor.
this requires removing the connection structure and replacing
with the conn_info structure.

(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@70 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
c4ac900b31 when gmi.c changed, full project would not always be rebuilt
fixed this issue.

(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@69 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
e95bf676ed Add track active variable to keep track of active connections.
(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@67 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
4b89e5e20e cleanup valgrind warnings.
(Logical change 1.24)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@66 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 22:02:05 +00:00
Steven Dake
ae695b04d0 Change memcpy to memmove to quiet down valgrind.
(Logical change 1.23)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@64 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 21:12:01 +00:00
Steven Dake
5ac0ebb149 Get rid of some errors from valgrind by initializing variables.
(Logical change 1.23)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@61 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-07 21:12:01 +00:00
Steven Dake
bc5fe2a786 Remove extra unused parameter to exec messages.
(Logical change 1.22)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@60 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 20:05:14 +00:00
Steven Dake
6e3637ac98 Remove extra parameter to exec messages.
(Logical change 1.22)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@59 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 20:05:14 +00:00
Steven Dake
88996cbb21 Add activate poll message.
(Logical change 1.21)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@57 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 19:25:41 +00:00
Steven Dake
445dd33b13 add activate poll message
(Logical change 1.21)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@51 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 19:25:41 +00:00
Steven Dake
beb82b3bcb Wrong value being used to determine leave list, resulting in
a memcpy with a -1 value in some cases, and the incorrect memcpy
in other cases.

(Logical change 1.20)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@49 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 18:26:11 +00:00
Steven Dake
7c1c23ff33 With a two node cluster and one node killed, the remaining node
didn't sent the appropriate configuration changes to the clm API
or to the rest of the services.

(Logical change 1.19)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@48 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-01 20:45:11 +00:00