Commit Graph

979 Commits

Author SHA1 Message Date
Steven Dake
440f587eb8 defect 969
processor_count_set is called in the wrong place causing the protocol to
fail to receive.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@848 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-23 22:25:04 +00:00
Steven Dake
3dcea4aa99 defect 968
Heartbeat failure detection man page updates


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@846 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-23 22:13:02 +00:00
Mark Haverkamp
65b4202cdf Fix for Bug 875.
Cleans up a channel that actually opened but
the library request timed out.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@844 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-22 21:20:35 +00:00
Steven Dake
3226edf8f1 defect 965
Fix synchronization service lockup if the new_message_queue is full


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@842 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-18 21:44:40 +00:00
Steven Dake
b879b3901d defect 956
fix assertion where new_message_queue is overflowed when a message is pending
in the fragmentation queue.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@839 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-18 21:38:31 +00:00
Mark Haverkamp
caebd89221 Fix for BUG 955.
The base event ID needed to be set to one.  event zero was being detected
as already delivered and thrown away.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@837 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-18 21:31:01 +00:00
Steven Dake
067c60c866 defect 968
Improve worst-case failure detection time using active healthchecking


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@836 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-18 21:29:11 +00:00
Steven Dake
dfa61b911d defect 914
fix gcc 4 specific compile warnings and compile errors


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@834 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-10-27 00:53:36 +00:00
Steven Dake
9c6b1db576 defect 909
c++ keywords are used in the internal implementation of list.h



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@832 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-10-04 00:10:11 +00:00
Mark Haverkamp
5d90cabe58 Fix compiler warnings when HZ is defined to be a long.
Bugzilla #904


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@830 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-29 14:38:18 +00:00
Steven Dake
52fc4efc54 defect 903
First cut at a distributed locking service.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@829 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-29 03:38:59 +00:00
Steven Dake
27b272c404 defect 898
don't need to copy message to fragmentation data buffer if message can be
multicasted as is.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@827 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-26 21:31:25 +00:00
Steven Dake
90181d3dd1 defect 897
fix new_message_queue can be overwritten


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@825 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-26 21:27:57 +00:00
Steven Dake
0dc7b0267a defect 896
Ruppert reported there was a missing typecast


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@822 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-22 19:51:48 +00:00
Steven Dake
c2e9752a17 defect 895
Ruppert reported that there is code that doesn't do anything but should.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@821 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-22 19:51:12 +00:00
Steven Dake
639a817c89 reduce maximum message size since 253000 is beyond the max.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@818 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-20 23:05:55 +00:00
Steven Dake
2ea321e253 remove extraneous debug printf
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@816 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-20 22:42:32 +00:00
Steven Dake
2218d1d078 defect 892
Fix performance degradation when sending 10-15 messages per second because
of a large seqno_unchanged_const.  Also, seqno_unchanged_const does not have
a configurable option and this patch adds that support.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@814 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-20 18:34:15 +00:00
Steven Dake
3b44db0a54 defect 856 - CHANGES and CHANGES_ONLY have identical effect with saClmClusterTrack()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@812 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-06 21:54:49 +00:00
Steven Dake
67826fe3cb defect 855 - implement view numbers and report them correctly as per specs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@811 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-09-06 21:51:46 +00:00
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