Commit Graph

788 Commits

Author SHA1 Message Date
Steven Dake
d6dc23e25e fixes a missed merge in the totemmrp mergeup
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@788 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:37:21 +00:00
Steven Dake
cf6af14aea Fix a few compile warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@787 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:21:43 +00:00
Steven Dake
d1d04c7806 defect 796
fix saClmClusterTrack to operate according to specs.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@786 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:18:45 +00:00
Steven Dake
0ef65787cd defect 793
dont return SA_AIS_ERR_NOT_EXIST when tracking started with SA_TRACK_CURRENT only


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@785 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:17:49 +00:00
Steven Dake
89a60a2caa defect 792
saClmTrackStop not returning SA_AIS_ERR_NOT_EXIST


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@784 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:17:12 +00:00
Steven Dake
2db57a7bf5 defect 790
if sectionDescriptor is null in iteration next call, segfault occurs


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@783 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:15:14 +00:00
Steven Dake
283790b715 Add infrastructure support for multiring to totem library
Make totemsrp support multiple instances of a running protocol within one app.
Rename libtotem to libtotem_pg because of a name conflict with some movie player


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@782 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 20:55:25 +00:00
Mark Haverkamp
72df6d9a0f Move the check of subscription ID in lib_evt_event_subscribe before
processing the filters.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@781 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:22:04 +00:00
Mark Haverkamp
61f90c42e6 Fix for bug 776. Don't require retained events to expire
before deleting the channel on unlink.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@780 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:19:39 +00:00
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