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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mark Haverkamp
588bca5636
Wait to return status to the library until the clear request
...
was received over the network so that the publish and receipt of the
event is in sync with the time clear request.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@727 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 22:36:10 +00:00
Steven Dake
d07ea82159
defect 673
...
fix checkpoint unlink not cleaning up checkpoints.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@726 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 20:32:55 +00:00
Steven Dake
2e4b10583d
defect 502
...
fix assert when packet added in multicast message handler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@725 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 20:29:33 +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
68ae4e8b3c
defect 669
...
token retransmits dont work under heavy load.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@721 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:34:08 +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
91c6b6d699
Patch from Muni Bajpai to improve synchronization after a merge.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@713 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-28 19:01:25 +00:00
Steven Dake
fa198acf82
Patch from Szakacsits Szabolcs to improve error detection in parsing
...
configuration files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@711 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-27 20:26:21 +00:00
Mark Haverkamp
cbc8feca89
I discovered that our SaAisErrorT is incorrect. I have included a patch
...
to fix that. The SA_AIS_ERR_BAD_CHECKPOINT code doesn't exist. I
replaced it with SA_AIS_ERR_BAD_OPERATION.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@709 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-24 21:19:02 +00:00
Mark Haverkamp
217207babb
Some fixes to the event service based on the saftest event
...
tests results.
The changes may affect applications currently using the event service.
1. Timeout value to the saEvtChannelOpen call was updated to use
SA_TIME_MAX instead of 0 for infinite timeout.
2. added cleanup in the library to remove associated events when a
channel is closed, and remove associated channels when finalize is
called.
3. Added some new checking args for NULL and returning the correct error
code.
4. fixed dispatch to return correct status with SA_DISPATCH_ONE and no
available poll data.
5. Makefile had bad dependency for evt library build.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@706 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-21 22:19:03 +00:00
Steven Dake
e8de042ab3
defect 630
...
if a checkpoint is unlinked then opened it should return
SA_AIS_ERR_NOT_EXIST
(Logical change 1.211)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@678 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:41:54 +00:00