Commit Graph

792 Commits

Author SHA1 Message Date
Steven Dake
94a50283e7 (Logical change 1.175)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@592 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
fc25218921 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@591 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:19 +00:00
Steven Dake
c3e125b165 defect 478 - remove extra parameter to config change.
(Logical change 1.174)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
d413e64044 Many files:
defect 478 - remove extra parameter to config change.

BKrev: 42600ff6Tg7hfUjwYnckeK8uBxBGrg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@589 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
194511a39b Fix defect 456
when checkpoint expirse, the executive crashes if no bind address was specified

(Logical change 1.173)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@588 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:33:33 +00:00
Steven Dake
da1daf2051 main.c:
Fix defect 456
  when checkpoint expirse, the executive crashes if no bind address was specified

BKrev: 425aed2d6P3dBt_7UO1Cv6d5kt4haQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@587 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:33:33 +00:00
Steven Dake
6d74d8760c add default section to testcase
(Logical change 1.172)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@586 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
a58243c239 add default section to testcase.
(Logical change 1.172)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@585 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
1ff6f56a48 Add default section support to checkpoints.
(Logical change 1.172)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@584 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
d16b436749 (Logical change 1.172)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@583 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
0b45731bbc testckpt.c, ckpt-rd.c, ckpt-wr:
add default section to testcase.
ckpt.c:
  Add default section support to checkpoints.

BKrev: 425aeb47Mb_N8HKGtX_BdmRGaLP-Jg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@582 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
bd9d3419cd ckpt.c:
Patch from Muni and Mark to properly calculate the header size
  field so that the totem delivery assertion doesn't assert when
  using ckpt services.

BKrev: 4256f3d0FFsh6CwpsXs-w4_225C4Wg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@581 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-08 21:12:48 +00:00
Steven Dake
50f9bbdf24 Patch from Muni and Mark to properly calculate the header size
field so that the totem delivery assertion doesn't assert when
using ckpt services.

(Logical change 1.171)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@580 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-08 21:12:48 +00:00
Mark Haverkamp
b7be6acce0 Make sure that the message count in the message matches the actual length
of the message.

BKrev: 42543a7aj_fChUtiZ_ZWH0wdZ6JN3Q


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@579 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-06 19:37:30 +00:00
Mark Haverkamp
5f1e727245 Make sure that the message count in the message matches the actual length
of the message.

(Logical change 1.170)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@578 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-06 19:37:30 +00:00
Mark Haverkamp
4002f9b5fb Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/04/05 08:56:39-07:00 osdl.net!markh
Replace assert with a return.  This will allow the custer to continue
to run.  This happens when a joining node receives a message from a node
that it doesn't know about yet.  This is a temporary fix for now.

BKrev: 4252b541e1CWSNFoD816nTIzzKKPDg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@577 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 15:56:49 +00:00
Mark Haverkamp
fe62f602f1 Replace assert with a return. This will allow the custer to continue
to run.  This happens when a joining node receives a message from a node
that it doesn't know about yet.  This is a temporary fix for now.

(Logical change 1.169)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@576 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 15:56:49 +00:00
Steven Dake
ee38b3da97 Patch from Miyotaka Sakai to fix access to free area defect 426.
(Logical change 1.168)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@575 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 01:51:09 +00:00
Steven Dake
3afff77412 totemsrp.c:
Patch from Miyotaka Sakai to fix access to free area defect 426.

BKrev: 4251ef0dubnPmmnqD-elKTQ_vgpq9Q


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@574 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 01:51:09 +00:00
Steven Dake
3c98ff2d84 change around this_ip to better support ifup/ifdown
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@573 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
64e4978f00 add some support functions relating to this_ip
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@572 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
2f594f9a28 add ifup/ifdown binding to totem single ring protocol
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@571 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
3111e9f5eb minor improvements to the ckpt tests
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@570 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
9e9881ac41 testckpt.c:
minor improvements to the ckpt tests
totemsrp.h, totemsrp.c:
  add ifup/ifdown binding to totem single ring protocol
main.h, main.c:
  add some support functions relating to this_ip
clm.c, ckpt.c, amf.c:
  change around this_ip to better support ifup/ifdown

BKrev: 424dbb0bUeDXpnbGn8TxJlPYWRvT6A


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@569 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Miyotaka Sakai
09628d7212 fix not to transit state when process terminate
(Logical change 1.166)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@568 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-30 22:29:58 +00:00
Miyotaka Sakai
fdf3214a34 amf.c:
fix not to transit state when process terminate

BKrev: 424b286648uPUwF_B-hMgKOF5Mgwzw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@567 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-30 22:29:58 +00:00
Steven Dake
f63d0e5c0a Updated with comments from Michael Howard
added evt and evs service tests to quickstart information
added text about running as root
removed default route setup instructions since they are no longer needed.

(Logical change 1.165)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@566 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-30 21:26:35 +00:00
Steven Dake
dd9ab617ea QUICKSTART:
Updated with comments from Michael Howard
  added evt and evs service tests to quickstart information
  added text about running as root
  removed default route setup instructions since they are no longer needed.

BKrev: 424b198bYLqB2blTRdYtgLgjFmHjIA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@565 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-30 21:26:35 +00:00
Steven Dake
86b26b0480 Merge sdake@bk.osdl.org:/var/bk/openais
into persist.az.mvista.com:/home/sdake/openais

2005/03/29 15:03:30-07:00 mvista.com!sdake
testckpt.c:
  Create section after section is unlinked in test code.
ckpt.c:
  Patch from Muni Bajpai to not setup a cleanup handler for a
  checkpoint when a checkpoint open fails.  Patch also fixes up
  checkpoint iterators so they do not crash on process exit.

BKrev: 4249da03fKPlzZG0QP8eZriaAtoM-w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@564 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-29 22:43:15 +00:00
Steven Dake
46c6c4f47c Patch from Muni Bajpai to not setup a cleanup handler for a
checkpoint when a checkpoint open fails.  Patch also fixes up
checkpoint iterators so they do not crash on process exit.

(Logical change 1.164)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@563 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-29 22:43:15 +00:00
Steven Dake
46e2bad993 Create section after section is unlinked in test code.
(Logical change 1.164)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@562 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-29 22:43:15 +00:00
Miyotaka Sakai
6b512c3231 fix configuration change
(Logical change 1.163)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@561 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 22:49:18 +00:00
Miyotaka Sakai
ffd546701d amf.c:
fix configuration change

BKrev: 424889eehbHC-A5YNtbXzaEzVMhcVQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@560 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 22:49:18 +00:00
Steven Dake
688323e33d Remove extra debug printf.
(Logical change 1.162)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@559 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
d37166568b totemsrp.c:
Remove extra debug printf.

BKrev: 42485391qM7HG2et7RcmNIHInqXxTA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@558 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
7d0da71edc defect 368
A report of totemsrp not merging configurations led to this
enhancement.

totemsrp.c:
  The totem protocol would not previously merge a configuration
  until a multicast message was sent.  This change sends a special
  "merge detect" message if no message has been multicast in some
  time from the representative.  This merge detect message will
  trigger other processors to enter the gather state and form
  a new configuration if they were not previously part of the
  current configuration.
Makefile:
  Build aisexec when libtotem.a changes.

BKrev: 42484f5453Wf6HN2Gbyg9dznFaQGtw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@557 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
29585e709f The totem protocol would not previously merge a configuration
until a multicast message was sent.  This change sends a special
"merge detect" message if no message has been multicast in some
time from the representative.  This merge detect message will
trigger other processors to enter the gather state and form
a new configuration if they were not previously part of the
current configuration.

(Logical change 1.161)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@556 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
60049623b6 Build aisexec when libtotem.a changes.
(Logical change 1.161)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@555 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Mark Haverkamp
26e2fa2638 This update allows retained events from a merging partition to
be delivered to applications with the associated channels already
open at the time of the merge.

BKrev: 42484b6f0IXKK1Bql-GCaHwTbXg0dQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@554 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:22:39 +00:00
Mark Haverkamp
790c36084c This update allows retained events from a merging partition to
be delivered to applications with the associated channels already
open at the time of the merge.

(Logical change 1.160)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@553 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:22:39 +00:00
Mark Haverkamp
ba546499ad Async open and subscribe needed to check for registered call back
functions and retrun an error if there were no assocated callbacks.

BKrev: 42483e43sOS_W8zCqoAZNHTy43FhkA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@552 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 17:26:27 +00:00
Mark Haverkamp
9da13b631e Async open and subscribe needed to check for registered call back
functions and retrun an error if there were no assocated callbacks.

(Logical change 1.159)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@551 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 17:26:27 +00:00
Mark Haverkamp
6b9a85376c Only dispatch a callback if it is non-null.
(Logical change 1.158)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@550 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-23 20:12:44 +00:00
Mark Haverkamp
6ef7bdb950 Only dispatch a callback if it is non-null.
BKrev: 4241cdbcbgCCwsZLJEXicZZTvGpuGQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@549 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-23 20:12:44 +00:00
Steven Dake
e1b14b28be defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet
(Logical change 1.157)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@548 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:37:45 +00:00
Steven Dake
4441abc73f ckpt.c:
defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet

BKrev: 4240ac49svEd0Uoaf0zn8-6YXK5akw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@547 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:37:45 +00:00
Steven Dake
f02733f736 Makefile:
Link to seperate libraries.
  Provide seperate libraries per service as well as the consolidated libais library.

BKrev: 4240ac15wtabDEmO2ooaShdbFZP-wg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@546 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Steven Dake
1faf416af7 Link to seperate libraries.
(Logical change 1.156)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@545 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Steven Dake
7c2548db8a Provide seperate libraries per service as well as the consolidated libais library.
(Logical change 1.156)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@544 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Mark Haverkamp
f8f841f31e Fix an off by one error causing a bad event ID to be sent after
a recovery in some cases.

BKrev: 4240a8ba6cGIAgqLoTZNAUZJJOgyrg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@543 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:22:34 +00:00