Commit Graph

1035 Commits

Author SHA1 Message Date
Mark Haverkamp
dce8441e97 Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/05/18 01:03:02+09:00 sakai!sakai
amf.c:
  Failover doesn't happen when CTL-Z and process kill

BKrev: 4294e4525GqfTV54xRLGWs-383Stsg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@635 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:47:14 +00:00
Mark Haverkamp
bfde2a6518 More updates to make event conform to B spec.
BKrev: 4294e431odUeu4s7HWbqMRrsByv4rQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@634 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:46:41 +00:00
Mark Haverkamp
2b18ac9b77 More updates to make event conform to B spec.
(Logical change 1.193)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@633 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:46:41 +00:00
Mark Haverkamp
8285519779 Fix memory leak.
BKrev: 4294e345EM8L82mcgFGtNXNOOrANVg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@632 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:42:45 +00:00
Mark Haverkamp
c4d6184eb5 Fix memory leak.
(Logical change 1.192)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@631 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:42:45 +00:00
Mark Haverkamp
8161106dfe Added a description of the timeout section of openais.conf
(Logical change 1.191)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@630 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-04 17:08:55 +00:00
Mark Haverkamp
fef6adbbbc Add support for user specified timeouts from openais.conf
BKrev: 427901a7TTHofqEBWm_tyZgxLVSn8g


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@629 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-04 17:08:55 +00:00
Mark Haverkamp
4c203d518d Add support for user specified timeouts from openais.conf
(Logical change 1.191)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@628 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-04 17:08:55 +00:00
Steven Dake
f127cb9714 defect 529
dont ignore commit token which was causing strange semantics.

(Logical change 1.190)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@627 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-29 21:10:39 +00:00
Steven Dake
3dc9dbaf4c totemsrp.c:
defect 529
  dont ignore commit token which was causing strange semantics.

BKrev: 4272a2cfQng6C3XBRPdeo8GZx7KIlQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@626 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-29 21:10:39 +00:00
Steven Dake
22de14a904 Many files:
defect 512 - some ais header file defines are wrong.

BKrev: 4269467fUqljxZ1cZm7rYtXJgozkZQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@625 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:46:23 +00:00
Steven Dake
b99706a7e3 defect 512 - some ais header file defines are wrong.
(Logical change 1.189)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@624 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:46:23 +00:00
Steven Dake
a4e44fec62 totemsrp.c:
defect 498 - reduce network traffic from merge detection

BKrev: 42694604csBxR35HgvFh1cX-WdsjPw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@623 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:44:20 +00:00
Steven Dake
23ea3ea3b3 defect 498 - reduce network traffic from merge detection
(Logical change 1.188)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@622 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:44:20 +00:00
Steven Dake
5d7c3fda3d testckpt.c, ckpt.c, ipc_ckpt.h:
defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working

BKrev: 4267f1b1iKpaZFwASGi0Hpg6NPVlvA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@621 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 18:32:17 +00:00
Steven Dake
8b7d9fbc4d defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working
(Logical change 1.187)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@620 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 18:32:17 +00:00
Steven Dake
3d8dbf1d32 defect 505 - fix uncompilable with gcc 2.95
(Logical change 1.186)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@619 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 00:57:34 +00:00
Steven Dake
189404dce8 ckpt-wr.c, evt.c, ckpt.c, amf.c:
defect 505 - fix uncompilable with gcc 2.95

BKrev: 4266fa7e2AAxpdYH2FJH4NEZ75Hc9w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@618 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 00:57:34 +00:00
Mark Haverkamp
7e70b8dfe3 Defect 501.
Fix some mutex and error return problems.

(Logical change 1.185)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@617 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-20 22:13:34 +00:00
Mark Haverkamp
2aa71cec9f Defect 501.
Fix some mutex and error return problems.

BKrev: 4266d40eIENsfJQEvDM6MjMDhFcqLA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@616 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-20 22:13:34 +00:00
Mark Haverkamp
501e7987eb For defect 501.
Fix possible stale pointers in async lists if an application
disconnects before its command has been fully processed.

(Logical change 1.184)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@615 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-20 21:46:14 +00:00
Mark Haverkamp
b6b40d2824 Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/04/20 14:43:05-07:00 osdl.net!markh
For defect 501.
Fix possible stale pointers in async lists if an application
disconnects before its command has been fully processed.

BKrev: 4266cda65e-fXv0kW4Qe-4Fr4Sbrww


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@614 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-20 21:46:14 +00:00
Steven Dake
4b82810d02 evs.c:
defect 42 - evs service doesn't send config change on evs_initialize

BKrev: 4264263fzzgV2yL8rAEqgs69wjGnZA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@613 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 21:27:27 +00:00
Steven Dake
e503df31d8 defect 42 - evs service doesn't send config change on evs_initialize
(Logical change 1.183)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@612 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 21:27:27 +00:00
Steven Dake
38544ced9d totemsrp.c:
Fix assert when recovery fails and messages are accepted in the gather state.

BKrev: 42641035MxBKYwCZ1zOkFr_h-WES3Q


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@611 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 19:53:25 +00:00
Steven Dake
444d87049e Fix assert when recovery fails and messages are accepted in the gather state.
(Logical change 1.182)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@610 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 19:53:25 +00:00
Steven Dake
b0fc630eab totemsrp.c:
Fixes a condition which would result in a proc set and failed set
  being equal which would force the algorithm to never reach
  consensus in the membership algorithm.

BKrev: 42604e9fCBYactncuQuguPZ_IEfQsQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@609 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:30:39 +00:00
Steven Dake
0bf800e0db Fixes a condition which would result in a proc set and failed set
being equal which would force the algorithm to never reach
consensus in the membership algorithm.

(Logical change 1.181)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@608 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:30:39 +00:00
Steven Dake
c64f378df1 totem packet size changed from 1408 to 1404 because a field was
added to the mcast header.

(Logical change 1.180)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@607 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
623cd29dbc add some sort queue functions.
(Logical change 1.180)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@606 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
8368fa8387 turn off random dropping of packets by default.
2005/04/15 16:27:14-07:00 mvista.com!sdake
Major fixes to the recovery phase of the totem protocol.  The
remainder of the protocol remains unchanged.
The protocol now properly adds the right messages to the right
queues during recovery.  The protocol properly handles failures
in the recovery state.

(Logical change 1.180)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@605 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
778311f3cd totemsrp.c:
turn off random dropping of packets by default.
totemsrp.h:
  totem packet size changed from 1408 to 1404 because a field was
  added to the mcast header.
sq.h:
  add some sort queue functions.
totemsrp.c:
  Major fixes to the recovery phase of the totem protocol.  The
  remainder of the protocol remains unchanged.
  The protocol now properly adds the right messages to the right
  queues during recovery.  The protocol properly handles failures
  in the recovery state.
totempg.c:
  add an assert to catch a weird case.

BKrev: 42604e5bSfwCdUnySrgU1nlV7yDYNQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@604 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
e14520f859 add an assert to catch a weird case.
(Logical change 1.180)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@603 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
6244f37c49 crypto.c:
autodetect endian and wordsize with gnuisms

BKrev: 42602efdZ8LfQwIHBFrdtsjrK3BtCg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@602 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:15:41 +00:00
Steven Dake
bfe42ca422 autodetect endian and wordsize with gnuisms
(Logical change 1.179)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@601 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:15:41 +00:00
Steven Dake
bb1a4d9a53 evs.c:
fix defect 477 - header size calculated incorrectly results in assert

BKrev: 42602cf5j6Zi2RZtyz9xB83lZW9R6g


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@600 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:07:01 +00:00
Steven Dake
0dd9d0999f fix defect 477 - header size calculated incorrectly results in assert
(Logical change 1.178)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@599 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:07:01 +00:00
Steven Dake
0fb3480ac6 Merge sdake@bk.osdl.org:/var/bk/openais
into persist.az.mvista.com:/home/sdake/openais

2005/04/15 13:48:35-07:00 mvista.com!sdake
Makefile, util.h, util.c, evt.c, evs.c, clm.c, ckpt.c, amf.c:
  defect 188 missed initial checkin

BKrev: 426028b9DQDC6BgUEBBsQmVJmhyxOg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@598 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:48:57 +00:00
Steven Dake
37fb3fca52 defect 188 missed initial checkin
(Logical change 1.177)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@597 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:48:57 +00:00
Mark Haverkamp
8c90624817 Test updates to handle SA_AIS_ERR_TRY_AGAIN return codes.
(Logical change 1.176)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@596 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:05:46 +00:00
Mark Haverkamp
f333ad49d9 Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/04/15 13:01:00-07:00 osdl.net!markh
Test updates to handle SA_AIS_ERR_TRY_AGAIN return codes.

BKrev: 42601e9aBWGIREypBcTjO5NC8bK8uA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@595 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:05:46 +00:00
Steven Dake
7d1b8e0d11 defect 188 - use two fds instead of one fd for I/Os to executive
(Logical change 1.175)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@594 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
1ea29dc7ce Many files:
defect 188 - use two fds instead of one fd for I/Os to executive
testevsth.c:
  test evs threading

BKrev: 42601124xiPxCobiccGpS7CZ62Ol7w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@593 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
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