Commit Graph

747 Commits

Author SHA1 Message Date
Steven Dake
0bc85fe79e ckpt.c, ipc_ckpt.h:
defect 592
  If ActiveReplicaSet is called, the correct return values are not
  returned, causing failures in the saf test suite.

BKrev: 42a4ade8M7A9p_GJDKQGsWWbJxc41w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@647 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:11:20 +00:00
Steven Dake
d128af9396 defect 592
If ActiveReplicaSet is called, the correct return values are not
returned, causing failures in the saf test suite.

(Logical change 1.198)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@646 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:11:20 +00:00
Steven Dake
4ad46bbf70 defect 591
If checkpoint open is called, but checkpoint close isn't called before
saCkptFinalize is called, the reference count of the checkpoints gets
out of kilter.

(Logical change 1.197)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@645 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:10:13 +00:00
Steven Dake
82ca52fd6a ckpt.c:
defect 591
  If checkpoint open is called, but checkpoint close isn't called before
  saCkptFinalize is called, the reference count of the checkpoints gets
  out of kilter.

BKrev: 42a4ada5nUMOYQy74W2MQ1eTlNNC0g


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@644 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:10:13 +00:00
Steven Dake
5c01392052 (Logical change 1.196)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@643 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:37:31 +00:00
Steven Dake
a7a2c41da3 adds evs_membership_get api
(Logical change 1.196)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@642 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:37:31 +00:00
Steven Dake
6690901300 Many files:
adds evs_membership_get api
evs_membership_get.3:
  new file

BKrev: 42964fab28riN6pUGbG3uqbjbAjKcA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@641 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:37:31 +00:00
Steven Dake
f177badd7f Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@640 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:37:30 +00:00
Mark Haverkamp
ade5ce30de Allow services to use the openais.conf file for setting custom options.
Evt now allows the maximum delivery queue size and the resume size to be
set in openais.conf

(Logical change 1.195)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@639 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Mark Haverkamp
46e95d5164 Allow services to use the openais.conf file for setting custom options.
Evt now allows the maximum delivery queue size and the resume size to be
set in openais.conf

BKrev: 42964b6eDjhuwHSUD_2OVfOPwqZf3w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@638 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Mark Haverkamp
632a94dd7d Allow services to use the openais.conf file for setting custom options.
(Logical change 1.195)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Miyotaka Sakai
2e38f2f85b Failover doesn't happen when CTL-Z and process kill
(Logical change 1.194)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@636 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:47:14 +00:00
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