Commit Graph

979 Commits

Author SHA1 Message Date
Steven Dake
92ab7d0514 ckpt.c:
defect 630
  if a checkpoint is unlinked then opened it should return
  SA_AIS_ERR_NOT_EXIST

BKrev: 42b31972GC0d7zd0Xw4yt4RcQrxcCg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@679 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:41:54 +00:00
Steven Dake
e8de042ab3 defect 630
if a checkpoint is unlinked then opened it should return
SA_AIS_ERR_NOT_EXIST

(Logical change 1.211)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@678 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:41:54 +00:00
Steven Dake
5e8e2e47a7 ckpt.c:
defect 629
  Return error if checkpoint has been unlinked on retentation duration set

BKrev: 42b3192dcHnUOXNAKirryjp4WHDl9g


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@677 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:40:45 +00:00
Steven Dake
fbdb04b8cf defect 629
Return error if checkpoint has been unlinked on retentation duration set

(Logical change 1.210)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@676 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:40:45 +00:00
Steven Dake
3f05a6fd64 defect 628
saCkptCheckpointStatusGet test case 13 from saftest fails

(Logical change 1.209)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@675 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:39:51 +00:00
Steven Dake
d1cff97210 ckpt.c, ckpt.h:
defect 628
  saCkptCheckpointStatusGet test case 13 from saftest fails

BKrev: 42b318f7gBulPAY6sscL0tMMMi9jMw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@674 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:39:51 +00:00
Steven Dake
b22ebd3288 Makefile, ckpt.c:
defect 627
  Fix API crash when second parameter of saCkptCheckpointStatusGet is null

BKrev: 42b318bd2NjZ6GGEcjf0mUQr9yL1EA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@673 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:38:53 +00:00
Steven Dake
56fb7ca44c defect 627
Fix API crash when second parameter of saCkptCheckpointStatusGet is null

(Logical change 1.208)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@672 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:38:53 +00:00
Steven Dake
b064d567d4 defect 611
add some manual pages to openais

(Logical change 1.207)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@671 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Steven Dake
f047d8f44f defect 577
Implement token holding mode

(Logical change 1.207)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@670 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Steven Dake
85807f4883 Makefile, index.html:
defect 611
  add some manual pages to openais
openais_overview.8, openais.conf.5:
  new file
Many files:
  defect 577
  Implement token holding mode

BKrev: 42b31834M2cICKgskYf4EnywBr9Fiw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@669 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Steven Dake
eae1ab58e8 (Logical change 1.207)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@668 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Steven Dake
cfbdb93051 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@667 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:35 +00:00
Mark Haverkamp
b2031c3875 Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/06/15 14:09:09-07:00 osdl.net!markh
Fix version handling code to be B spec compliant.
BUG 623.

BKrev: 42b09916lexB-dFgQMudnN6k_mmmkw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@666 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:09:42 +00:00
Mark Haverkamp
1f1f048efc Fix version handling code to be B spec compliant.
BUG 623.

(Logical change 1.206)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@665 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:09:42 +00:00
Mark Haverkamp
221aa61328 Auto merged
2005/06/15 14:09:08-07:00 osdl.net!markh
Fix version handling code to be B spec compliant.
BUG 623.

(Logical change 1.206)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@664 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:09:42 +00:00
Mark Haverkamp
e2a00a2b8c Move the closing of file descriptors from the destructor to
the finalize function.  This allows threads waiting on poll to
wake up and release handle references.

BKrev: 42b097dceYknwQw6iUHoWmtoiZRCAQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@663 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:04:28 +00:00
Mark Haverkamp
bf199836cf Move the closing of file descriptors from the destructor to
the finalize function.  This allows threads waiting on poll to
wake up and release handle references.

(Logical change 1.205)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@662 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:04:28 +00:00
Mark Haverkamp
b3767775c4 Fixes to patterns and filters for B API spec support.
(Logical change 1.204)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@661 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-13 20:07:55 +00:00
Mark Haverkamp
d92893de21 Fixes to patterns and filters for B API spec support.
BKrev: 42ade79b0MPjVuydg8XjvOCQs9MTkw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@660 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-13 20:07:55 +00:00
Steven Dake
a77b3897f9 totempg.c:
defect 604
  report fragmentation messages missing.

BKrev: 42a61064-RatmX2Oh0W-yAQkVrhuLA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@659 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-07 21:23:48 +00:00
Steven Dake
8420e3b62a defect 604
report fragmentation messages missing.

(Logical change 1.203)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@658 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-07 21:23:48 +00:00
Steven Dake
45b82e1eba defect 600
Qian Zhang reported defect 599 which was a missing
pthread_mutex_unlock.  Patch attached to fix it.

(Logical change 1.202)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@657 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:35:05 +00:00
Steven Dake
0fc4c59354 (Logical change 1.202)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@656 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:35:05 +00:00
Steven Dake
b37507c241 clm.c:
defect 600
  Qian Zhang reported defect 599 which was a missing
  pthread_mutex_unlock.  Patch attached to fix it.

BKrev: 42a4b379jtJP5rnRmyVL92o1PyIDDw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@655 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:35:05 +00:00
Steven Dake
e7a5a3cf47 clm.c:
defect 599
  Qian Zhang reported defect 599 which was a missing
  pthread_mutex_unlock.  Patch attached to fix it.

BKrev: 42a4b337flt6FdzG6hqwbxOqSyl59w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@654 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:33:59 +00:00
Steven Dake
e28877c85a defect 599
Qian Zhang reported defect 599 which was a missing
pthread_mutex_unlock.  Patch attached to fix it.

(Logical change 1.201)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@653 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:33:59 +00:00
Steven Dake
58f5b9e5cd ipc_ckpt.h, testckpt.c, ckptbench.c, util.c, ckpt.c:
defect 595
  There are various bugs with saCkptCheckpointOpenAsync that result in it
  crashing the executive, library, or just failing the saftest conformance
  suite.

BKrev: 42a4afd8Fg5CFXDzyZ_v5qo_ad-Guw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@652 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Steven Dake
08f94a5835 defect 595
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite..

(Logical change 1.200)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@651 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Steven Dake
8a8983126d defect 595
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite.

(Logical change 1.200)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@650 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Steven Dake
5fd4cd0bcc ckpt.c:
The selection object get in sync with openAsync doesn't work.

BKrev: 42a4ae24bww-nX_J3YlTL9lMO3KZvQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@649 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:12:20 +00:00
Steven Dake
695ea081d9 The selection object get in sync with openAsync doesn't work.
(Logical change 1.199)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@648 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:12:20 +00:00
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