Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
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
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
Steven Dake
fd8978487f Add ability to pass in logging function for people that want to
use their own logging functions in their own programs.

(Logical change 1.17)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@40 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-30 19:07:39 +00:00
Steven Dake
86c3d01bf4 Make bind to a device really work properly. Now
it is possible to specify the bind network and
the networking will take place over that interface.

(Logical change 1.14)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@30 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-27 21:01:24 +00:00
Steven Dake
577163d6fb Fix binding rules so that instead of binding to INADDR_ANY for
UDP sockets, bind to specific interface defined in network.conf.
This is done by creating two fds.  gmi_fd_token is used for all
token communication.  gmi_fd_mcast is used for all mcast
communication.  I'm not sure if gmi_fd_mcast binding rules is
correct.  Once work begins on multipathing, this will have to
be figured out :)

2004/06/23 13:55:52-07:00 mvista.com!sdake
Use portable mreq instead of mreqn when joining the multicast
group.

(Logical change 1.13)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@26 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-23 21:01:32 +00:00
Steven Dake
7e1a275900 single node AMF would fail because of a recursion bug. Removed
the recursion by queueing single node message delivery as a timer
with 0 timeout.  This was happening before, but the logic was
wrong.

(Logical change 1.7)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@13 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 23:50:26 +00:00
Steven Dake
4130763665 Fix bug in membership protocol where form token sometimes times out
because the initial send of the token is sent to the wrong address.

2004/06/16 15:42:49-07:00 mvista.com!sdake
Performance enhancements: Allow more messages to be multicast per
token possession to reach 8.8MB/sec checkpoint performance without
remcasts.  Trim gather/commit timeouts to 100 msec to speed up the
membership gathering process.

(Logical change 1.5)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@10 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-16 22:50:39 +00:00
John Cherry
95f17845c6 (Logical change 1.3)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:04 +00:00
John Cherry
7bede9c4bb Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@4 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:03 +00:00