Commit Graph

35 Commits

Author SHA1 Message Date
Steven Dake
2b0711e51e defect 681
if null paramter passed to checkpoint service as iovector element, allocate
the io vector element


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@736 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:03:15 +00:00
Steven Dake
c1044ae100 defect 677
SectionOverwrite with null sectionId segfaults


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@734 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:01:29 +00:00
Steven Dake
1686406028 defect 675
section overwrite with null dataBuffer parameter locks up


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@732 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:00:15 +00:00
Steven Dake
1bf4e3bb25 defect 734
cleanup include files and exports from libraries



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@731 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:57:48 +00:00
Steven Dake
f617334946 Remove some warnings from the compile.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@724 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 23:10:37 +00:00
Steven Dake
6b719b3504 Enables test caes in saftest to pass by returning failure return codes in both
callback and return function.  This may have to change later if a later errata
changes this functionality.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@722 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:36:51 +00:00
Steven Dake
0f9972efb5 defect 655
invalid checkpoint open flags should return ERR_BAD_FLAGS


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@719 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:32:43 +00:00
Steven Dake
54ea8b5920 defect 654
wrong error code returned when checkpointSize > maxSections * maxSectionsSize in
checkpoint open.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@718 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:32:08 +00:00
Steven Dake
179fbe1ed7 defect 653
saCkptCheckpointOpen segfaults if null parameter passed in checkpointName


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@717 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:31:28 +00:00
Steven Dake
9ac741d7e3 defect 652
saCkptCheckpointOpen segfaults if null parameter passed to checkpointHandle


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@716 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:30:35 +00:00
Steven Dake
7a82e2acae defect 651 - saCkptCheckpointUnlink segfaults if checkpointName attribute is null
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@715 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:29:37 +00:00
Steven Dake
88dea715ff defect 646 - wrong return code in checkpoint open
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@714 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:28:06 +00:00
Steven Dake
82d516ea11 defect 634
saCkptDispatch blocks if invalid dispatch flag is set

(Logical change 1.215)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@687 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:45:25 +00:00
Steven Dake
d67705ec20 defect 633
saCkptInitialize crashes if callbacks parameter is null

(Logical change 1.214)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@685 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:44:41 +00:00
Steven Dake
c08428f246 Fix segfault when address of checkpoint handle is null to the initialize function
(Logical change 1.213)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@682 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:43:52 +00:00
Steven Dake
4e4e0ebaf1 defect 631
Fix segfault if null pointer passed to selection object address of
saCkptSelectionObjectGet

(Logical change 1.212)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@680 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:42:52 +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
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
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
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
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
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
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
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
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
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
c32d4f3fd5 defect 245 - revise checkpoint service to B.01.01.
(Logical change 1.135)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@485 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
9c6bf02fcf Clean up duration and expiration functions.
(Logical change 1.80)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@287 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
ca88544979 Add flow control to checkpointing.
(Logical change 1.55)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@174 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
92eeea1335 Change all RecvQueue users to use RecvRetry since there is no
reason to queue out of order messages.

(Logical change 1.48)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@148 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Steven Dake
447bfc6813 Clean up warnings found with -pedantic.
(Logical change 1.30)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-11 07:22:12 +00:00
Steven Dake
ec917418d9 Use new APIs for handle reference counting.
(Logical change 1.21)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@52 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 19:25:41 +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