Commit Graph

27 Commits

Author SHA1 Message Date
Steven Dake
39cbad6fc8 Yixiong Zou reported a problem where on some OSes the aisexec
couldn't join the multicast group.  This problem fixed.  Also
changed binding rules for sockets relating to the group messaging.
see detailed changlogs for more details.

BKrev: 40d9efacQooUDhv3APjn55QVVjMueg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@27 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-23 21:01:32 +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
8b9afa4f23 QUICKSTART:
Modified quickstart guide thanks to comments from Yixiong Zou
  Information about adding groups added
  Information about testclm blocking until cluster membership
  event occurs added.

BKrev: 40d920ffgjnZO35fZ2d947AV5TWGWQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@25 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-23 06:19:43 +00:00
Steven Dake
e78aa7a84c Modified quickstart guide thanks to comments from Yixiong Zou
Information about adding groups added
Information about testclm blocking until cluster membership
event occurs added.

(Logical change 1.12)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@24 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-23 06:19:43 +00:00
Steven Dake
e19a4959ad Buffer with message data used outside lock. This creates a possible race
where data from another response could be used to execute a dispatch.

2004/06/21 00:59:54-07:00 mvista.com!sdake
Remove double pthread_mutex_unlock on saAmfDispatch routine.  Unlock could
unlock another thread's unlock midthread.

(Logical change 1.11)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@23 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-21 08:08:30 +00:00
Steven Dake
4b4fa58ab5 Fix race with saClmDispatch where two threads could race
for access to the response data from the AIS Executive.

(Logical change 1.11)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@22 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-21 08:08:30 +00:00
Steven Dake
22ba043dbe Fix race relating to threads and saClmDispatch/saAmfDispatch.
BKrev: 40d6977ewZ8VFYD8mJyEaPWxg0tI7w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@21 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-21 08:08:30 +00:00
Steven Dake
fec5549b1f Add support for C++ linkage to cluster membership API.
Without this change, C++ programs will not link to the library.

BKrev: 40d53e4bzcKNiPnfX523_065NBw4gg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@20 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-20 07:35:39 +00:00
Steven Dake
22508bd302 Add support for C++ linkage to cluster membership APIs.
(Logical change 1.10)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@19 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-20 07:35:39 +00:00
Steven Dake
bc6b30ab04 Port not actually set to correct port as found with tcpdump.
BKrev: 40d53d26QDtzR8msp2zMvJ-9Mq6-Tw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@18 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-20 07:30:46 +00:00
Steven Dake
df8eda0280 x86 was not setting port to network byte order, which resulted in
port being byte swapped.  This of course, doesn't work well with
xscale boards.

(Logical change 1.9)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@17 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-20 07:30:46 +00:00
Steven Dake
f667e6de8e quickstart gives incorrect info about multicast addresses, now corrected.
BKrev: 40d35b80BGcr_8TvtSlrbEZBn14zZA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@16 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-18 21:15:44 +00:00
Steven Dake
294b4f06b5 fix error in quickstart
(Logical change 1.8)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@15 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-18 21:15:44 +00:00
Steven Dake
9519c38841 Fix single-node AMF assertion failure (cause runaway recursion).
BKrev: 40d22e42IsByk3WqoRIGSlETLqdUgw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@14 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 23:50:26 +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
970b3e9caa Crash when no network.conf file present (missing error checking).
(Logical change 1.6)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@12 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 21:54:28 +00:00
Steven Dake
703c619079 Fix crash when error reading network.conf file.
BKrev: 40d21314UfLNnjjrMSt_4U9rJZSVHA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@11 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-17 21:54:28 +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
Steven Dake
7507daee87 Bug fix and performance enhancements to the group messaging protocol.
BKrev: 40d0cebf3iPVrudikdxGEhhTs-CQMw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@9 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-16 22:50:39 +00:00
Steven Dake
9bd2a2f34f QUICKSTART:
Test change

BKrev: 40cfe45fPOa0mbN6jPO9bRiSG_tZWA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@8 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-16 06:10:39 +00:00
Steven Dake
60c27f0fea Test change
(Logical change 1.4)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@7 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-16 06:10:39 +00:00
John Cherry
f71b782518 Import changeset
BKrev: 40cf759cAkpvgQbZ43nWNRClHYqlXQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@6 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:04 +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
cem
81b9cfc950 Initial repository create
BKrev: 40cf7521T7yNtYdteqiCUMgD7RdOCA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:16:01 +00:00
cem
913863d5f8 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:16:00 +00:00
Steven Dake
ffec333e51 New repository initialized by cvs2svn.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:16:00 +00:00