Steven Dake
327f7bde1d
defect 854 - invalid return value displayed in test program
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@810 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-06 21:50:24 +00:00
Steven Dake
ca58a16b6b
defect 841
...
Rabbe reported that cluster track callback operations dont work properly.
This patch fixes that problem.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@809 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-30 20:29:13 +00:00
Steven Dake
319f0813cb
defect 839
...
The timer interval can be set to less then the platform timing interval. This
could result in negative timer values configured by the user which confuse
the totem protocol.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@808 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-29 19:55:34 +00:00
Steven Dake
21199e23cc
defect 828
...
assert in totemsrp_avail occurs with certain test cases. The code was rounding
down to zero when calculating the number of messages required. This patch adds
one in all cases so no roundoff occurs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@807 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-29 19:50:53 +00:00
Steven Dake
ac4635563b
defect 840
...
J Seltzer reported that closed checkpoints in the TRY_AGAIN state are not
closed in the executive but are closed in the library. This patch fixes
that problem.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@806 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-29 19:47:01 +00:00
Steven Dake
81b2984094
defect 837
...
Muni reported the token retransmission timer doesn't need to be reset when
receiving a retransmission
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@805 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:10:26 +00:00
Steven Dake
478307dfed
defect 833
...
Rabbe reported that the encoding of the ipv4 address in SaClmNodeAddressT is incorrect
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@804 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:09:03 +00:00
Steven Dake
42468e12a0
defect 824:
...
replace network directive with totem directive in default configuration file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@803 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:07:53 +00:00
Steven Dake
bd8801b043
defect 823
...
Typo in openias conf manpage reported by Rabbe
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@802 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:06:49 +00:00
Mark Haverkamp
4cfd52c8ed
Fix for bug 825.
...
SaEvtChannelClose needed to handle SA_AIS_ERR_TRY_AGAIN so that the
eci_closing would be cleared before returning.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@800 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-19 19:40:56 +00:00
Steven Dake
11f15dabc1
This sets the receive and send transmission buffers to a larger size to avoid overruns
...
of the multicast buffer.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@799 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-18 19:53:20 +00:00
Steven Dake
0e50278a32
This fixes an off by one in queue_avail which resulted in an assertion during testing.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@798 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-18 19:23:32 +00:00
Steven Dake
1bceb1d237
defect 501
...
this patch fixes short reads and writes between the library and executive
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@797 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:37:24 +00:00
Steven Dake
e7f1e9200f
enhancement 813
...
Rename ais_types.h header file to be more compliant with sa forum
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@796 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:27:25 +00:00
Steven Dake
256024ac8e
defect 822
...
checkpoint synchronization has serious bug after saftest fixups
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@795 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:21:16 +00:00
Steven Dake
5613db03a1
enhancmement 821
...
Global reorganization of totem code and also many feature enhancments
These include:
need to specify whether authentication is enabled or dislabed in config file
need to specify frame size in config file
need redundant ring placeholder
need to specify version field of totem
need to support large frame sizes
need to break out threading code from totemsrp
need to break out network code from totemsrp
need to break out parser code from parse.c
and some others
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@794 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:17:45 +00:00
Steven Dake
4ff4c440ca
Patch from Russell Bryant to fix up gcc 4 warnings
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@793 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-12 22:29:35 +00:00
Mark Haverkamp
00c5457af7
The current event service code will start rejecting received events
...
after 4gig because it thinks that they are duplicates.
This update fixes that problem. Now I am keeping a full 64 bit id for
checking for duplicate/re-sends, etc. separate from the event ID. I
also check that a new event ID is not in use by a retained event.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@792 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-11 19:22:50 +00:00
Mark Haverkamp
fbddefe965
Add a check field to the handle structure to make it less
...
likely to get a random valid handle.
Fix a couple bugs in the event service that this change exposed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@791 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-05 18:34:53 +00:00
Mark Haverkamp
096153983f
Fix for BUG 803. We need to complete a library call even if the
...
channel requested for unlink has been deleted previous to processing
an unlink request.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@790 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-02 21:35:34 +00:00
Steven Dake
ece2c68fe1
fixes segfault when ctrl-c pressed with new totemmrp code
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@789 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 22:19:50 +00:00
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