Commit Graph

53 Commits

Author SHA1 Message Date
Steven Dake
1f6be061f8 defect 746
return INVALID_PARAM in saCkptSectionIterationInitialize if address is NULL


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@764 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:56:43 +00:00
Steven Dake
950c62c4db defect 745
in saCkptSectionCreate if initialData == NULL return INVALID_PARAM


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@763 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:56:09 +00:00
Steven Dake
2beb76decd defect 742
error not returned in saCkptSectionCreate if sectionCreationAttributes == NULL


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@760 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:52:55 +00:00
Steven Dake
461da3d514 defect 741
saCkptCheckpointOpenAsync doesn't return error when
checkpointSize > maxSections * maxSectionsSize


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@759 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:52:15 +00:00
Steven Dake
9a07e270ce defect 740
if open callback isn't set on saCkptCheckpointOpenAsync, return SA_AIS_ERR_INIT


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@758 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:51:37 +00:00
Steven Dake
73a30f9921 defect 739
saCkptCheckpointOpenAsync callback doesn't return error as per spec


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@757 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:50:34 +00:00
Steven Dake
6574c5f172 defect 717
if checkpoint is not writeable in durationset, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@755 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:12:49 +00:00
Steven Dake
63ba2f7a17 defect 716
in durationtimeset if sectionId is null, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@754 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:12:23 +00:00
Steven Dake
937b54d261 defect 715
synchronize open missing break in dispatch causing checkpointsyncasync callback
not to be called.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@753 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:11:57 +00:00
Steven Dake
5544f69462 defect 714
if checkpoint doesn't have write permissions in section delete, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@752 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:11:22 +00:00
Steven Dake
4c586b894d defect 712
if sectionId is null in sectiondelete, return INVALID_PARAM


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@750 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:10:32 +00:00
Steven Dake
3946f75662 defect 710
if ioVector == NULL in checkpoint read error should be returned


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@748 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:09:39 +00:00
Steven Dake
f9e2657a9a defect 709
if synchronize async called, but no callback set, error not returned


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@747 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:09:11 +00:00
Steven Dake
566e0e4b7e defect 708
checkpoint synchronize async call not implemented


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@746 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:08:39 +00:00
Steven Dake
1939c24938 defect 707
if checkpoint synchronize executedd with timeout=0, TIMEOUT error not returned


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@745 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:08:13 +00:00
Steven Dake
4ddb2fc143 defect 704
if checkpoint is opened without read permissions, checkpoint synchronize
should return SA_AIS_ERR_ACCESS.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@742 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:06:48 +00:00
Steven Dake
d8accbfacc defect 703
checkpoint synchronize calls do not check if active replica set


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@741 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:06:04 +00:00
Steven Dake
43806fe78e defect 682
null iovector caues checkpointRead to segfault



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@737 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:03:41 +00:00
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