Commit Graph

979 Commits

Author SHA1 Message Date
Steven Dake
275e6fb9b5 defect 784
readSize is not properly set after return from checkpoint read operation.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@779 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:07:35 +00:00
Steven Dake
ccdeec64cf defect 785
ckptbenchth is completely broken.  This patch fixes it to operate properly.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@778 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:06:35 +00:00
Steven Dake
8b16ba4df8 defect 788
ckptbench returns error 7 at 20000 byte size writes.  The benchmark program
improperly creates the checkpoint parameters.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@777 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:05:34 +00:00
Mark Haverkamp
e772a502ef Fix for bug 773. Not quite the full fix, but the best we can do
for now.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@776 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-26 22:48:31 +00:00
Mark Haverkamp
4dd48bef0d Fix for bug 774. Check malloc return before accessing pointer.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@775 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-26 22:47:27 +00:00
Mark Haverkamp
cfbd699177 Fix for bug 782. Receved events may not be modified.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@774 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-26 22:45:56 +00:00
Steven Dake
092c1eff1a defect 777
fix reference counting bugs in aispoll


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@773 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-26 19:43:31 +00:00
Mark Haverkamp
4bbecc618f Update saEvtEventPublist to return the correct error code
when the event data size in too big.  Bug 768.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@772 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-25 17:43:25 +00:00
Steven Dake
d294fbf86d defect 754
tests dont build because makefile damaged


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@771 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 17:06:12 +00:00
Steven Dake
120e228992 defect 752
fix reference counting in checkpoint library


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@770 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 17:00:27 +00:00
Steven Dake
7526e8f6a5 defect 751
when ckptSectionIterationNext iterates all sections, SA_AIS_ERR_NO_SECTIONS
not being returned.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@769 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:59:53 +00:00
Steven Dake
ec394bdf18 defect 750
in saCkptIterationFinalize if no active replica set, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@768 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:59:13 +00:00
Steven Dake
6324c62026 defect 749
Make handle put work properly for IterationFinalize


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@767 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:58:42 +00:00
Steven Dake
506b37b4c9 defect 748
rename sectioniterator to sectioniteration in executive and library


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@766 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:58:02 +00:00
Steven Dake
4270bd2185 defecct 747
in saCkptSectionIterationInitialize if sectionsChosen invalid,
return INVALID_PARAM


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@765 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:57:23 +00:00
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
2347f5ab8e defect 744
return SA_AIS_ERR_EXIST in saCkptSectionCreate if maxSections == 1


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@762 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:54:37 +00:00
Steven Dake
53c69c8d84 defect 743
in saCkptCheckpointSectionCreate return SA_AIS_ERR_NO_SPACE if
current sections == maxSections


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@761 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:53:55 +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
e7c326db9b defect 718
if no active replica is not set do not set expiration time and return error.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@756 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:13:25 +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
61f6122074 defect 713
if active replica not set in section delete, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@751 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:10:56 +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
2551bbd00a defect 711
if no active replica set in checkpoint write, error not returned


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@749 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:10:02 +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
23c2dd0b53 defect 706
replica is not set based upon open flags as per specification


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@744 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:07:45 +00:00
Steven Dake
86009cad4a defect 705
if synchronize executed on a checkpoint that was created WR_ALL_REPLICAS return
error.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@743 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:07:20 +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
0469a201e4 defect 702
checkpoint synchronize missing executive handler


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@740 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:05:42 +00:00
Steven Dake
e9d1f437e4 defect 684
return INVALID_PARAM in checkpoint read if dataSize greater then
maxSections * maxsectionsSize.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@739 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:05:15 +00:00
Steven Dake
c731007ecd defect 683
if active replica not set, checkpointread should return SA_AIS_ERR_NOT_EXIST


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@738 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:04:21 +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
2bdc4e356c defect 680
ckptsectionoverwrite should return INVALID if dataSize greater then
maxSections * maxSectionsSize


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@735 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:02:20 +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
56bda7982b defect 676
sectionoverwrite doesn't return correct error when checkpoint section
doesn't exist


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@733 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:00:58 +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
a74c5c5173 defect 732
req_amf_componentregister used instead of req_lib_amf_componentregister.  There
is no definition for req_amf_componentregister.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@730 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:29:02 +00:00