Muni Bajpai
728b79d7d4
defect 1192
...
Fixes the issue of ckpt sections getting reordered and also fixes the issue of synchronizing ckpt while under the retention timer.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@959 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-28 21:49:49 +00:00
Patrick Caulfield
472e59e30a
Call a service's config_init_fn() as soon as it is loaded.
...
Then call exec_init_fn() after other initialisation has happened.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@958 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-28 12:32:45 +00:00
Steven Dake
1363452887
patch from Hans to support amf B types
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@957 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-27 17:37:21 +00:00
Steven Dake
cc89d721cc
enhancement 1145
...
Patch from Lars to implement csi attribute setting in config file and delivered
via callback.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@956 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-24 18:48:47 +00:00
Steven Dake
856c745591
Patch from Hans to fix up the configurable /var/run and /etc/ais directory
...
support.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@955 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-24 18:25:55 +00:00
Fabien Thomas
064ffb17a1
Bug 1130: add totempg log; remove warnings; add DPRINT macro
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@954 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-24 08:28:12 +00:00
Steven Dake
d07ee75762
objdb merge
...
add missing service.c file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@953 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-23 17:32:42 +00:00
Steven Dake
4a33ba11fa
defect 1139
...
merge object database and do a general refactor of the code
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@952 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-18 21:00:19 +00:00
Steven Dake
ab640472a5
Patch from Hans
...
This patch (against r950) makes it possible to change the directory
where aisexec searches for configuration files. Pretty much in line with
the possibility to specify user and group. Just do:
make OPENAIS_CONFDIR=/tmp/ais
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@951 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-17 09:36:13 +00:00
Steven Dake
b855d18145
Patch from Hans Feldt
...
This small patch (against r948) adds variable CPPFLAGS to all make rules
that compiles `.c' files into `.o' files.
This makes it possible to set CPPFLAGS on the command line as in:
$ make CPPFLAGS=-DAMFDEBUG
Editing the makefile when prototyping is then not needed.
Another reason is that some of the openais C files are built using the
implicit rule for C files (which uses CPPFLAGS). The change makes rules
consistent with the implicit rule.
It also adds a few missing files to the clean make target.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@950 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-16 05:41:28 +00:00
Muni Bajpai
5e307fe31e
Fix the innacurate dataSize in the Checkpoint Read response reported by Bjorn.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@949 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-15 20:46:08 +00:00
Steven Dake
0abc730b42
defect 1113
...
Checkpoint iteration is totally broken. This patch makes checkpoint iteration
work properly for multiple checkpoint iterators and now is compliant with the
specifications for the trunk version.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@948 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:29:27 +00:00
Steven Dake
f99f38363f
defect 1117
...
binding to localhost doesn't work. This patch reenables that functionality.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@947 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:16:28 +00:00
Steven Dake
10c7243f5c
defect 1120
...
The AMF code doesn't detect invalid healthcheck keys and crashes when an
invalid healthcheck key is specified.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@946 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:13:27 +00:00
Steven Dake
9a0d93ade8
defect 1116
...
The IPC code spins in recvmsg in the library resulting in poor performance
and deadlock in the AMF service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@945 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:10:51 +00:00
Fabien Thomas
dbe3eeb295
repair OPENAIS_COVERAGE, OPENAIS_PROFILE
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@944 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-07 22:50:50 +00:00
Fabien Thomas
6fdfd15c17
use sched_get_priority_max to set the maximum priority
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@943 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-07 22:48:43 +00:00
Muni Bajpai
0c0cd07156
defect 1115
...
added support for reinitializing synchrony to support ongoing sync during a re-configuration.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@942 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-07 19:40:23 +00:00
Muni Bajpai
197b23317c
defect 1115
...
fix faulty check.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@941 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-06 22:02:47 +00:00
Patrick Caulfield
e3ba0b9669
Fix testcpg.c so it actually works.
...
in exec/cpg: Don't regard a process as joined until all all nodes have
received the message.
Don't send other nodes' processes in a joinlist message!
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@939 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-06 08:46:56 +00:00
Muni Bajpai
cbaa6601d2
bug 1115. Fixes the synchronization algorithm which was skipping services.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@938 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-06 02:44:04 +00:00
Muni Bajpai
1bc174c761
Bug Fix for memory leak in ckpt section management. Bug 1112
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@937 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-05 22:33:24 +00:00
Patrick Caulfield
55ccceeb54
Add cpg (closed process groups) component.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@936 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-03 08:46:45 +00:00
Steven Dake
62120cb81a
defect 981
...
This patch fixes a problem where the synchronization engine would not work
cross endian.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@935 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-02 23:26:58 +00:00
Steven Dake
a763040a65
defect 981
...
This patch fixes a problem where ykd would not work cross endian
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@934 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-02 23:26:35 +00:00
Steven Dake
7b68e9aa8e
defect 981
...
This patch fixes a problem where totempg would not work cross-endian.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@933 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-02 23:25:51 +00:00
Steven Dake
cf160dd9cd
Fabien's patch for the BSD/Darwin port.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@926 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-21 07:32:00 +00:00
Steven Dake
5212bea264
Patch from Patrick
...
This patch restores the functionality in previous versions where the node
address could be specified as a network address in openais.conf
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@925 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-15 02:08:34 +00:00
Steven Dake
ae893c4fdd
enhancement 1049
...
Patch from Patrick
This simple patch stops a potential DoS. If a library tries to access a
component that is not loaded into the exec then it will crash trying to deref
ais_service_handlers[ service ]
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@924 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-15 02:02:55 +00:00
Steven Dake
4b3dd57de9
enhancement 1088
...
This replaces MSG_DONTWAIT with an fcntl to O_NONBLOCK to be more portable
for the BSD port since BSD doesn't support MSG_DONTWAIT properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@923 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-11 22:29:29 +00:00
Steven Dake
d248cfb8ae
defect 981
...
big endian and little endian in the same network causes infinite loop. This
patch fixes that problem for the totem layer only. Other components are not
resolved.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@922 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-11 22:25:54 +00:00
Steven Dake
e7abe20d67
Get rid of junk debug statement
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@921 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 22:58:31 +00:00
Steven Dake
96deb78110
Some versions of GCC were optimizing out the static ctor section. This patch
...
makes the ctor non-static so it is not optimized out.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@917 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 21:05:57 +00:00
Steven Dake
166609be38
Cleanup of dynamic loading to allow using the same interface factory code for
...
statically linked components.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@916 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 00:30:29 +00:00
Steven Dake
e2d327e599
Patch from Patrick to enable configuring the list of dynamic service handlers
...
in the configuration file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@915 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-01 23:46:44 +00:00
Steven Dake
43a36162b3
1049
...
make all service handlers dynamically loadable or compilable statically
use the BUILD_DYNAMIC flag in the makefile to set dynamic loading or static
compile.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@914 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-01 21:17:47 +00:00
Steven Dake
2753438b4a
enhancement 1049
...
enhance services so dynamic service handlers are more easily possible
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@905 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-25 06:27:09 +00:00
Steven Dake
8eefe473ef
defect 1046
...
SaErrorT in trunk branch, but only SaAisErrorT should be used
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@902 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-24 07:19:11 +00:00
Steven Dake
536fab94eb
defect 1045
...
totempg is not thread safe, and AMF requires threads to instantiate components
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@898 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-21 23:23:45 +00:00
Steven Dake
f6cfe4e86e
This is a major rework of the service handling code. Now service handlers
...
can be dynamically loaded via the live component replacement service. Sync
handlers are also dynamically contributed.
It is possible to build using either dynamic loading via LCR or static
linking of the entire executive. This is controlled by the BUILD_DYNAMIC
configuration option in the Makefile.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@892 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-20 20:40:21 +00:00
Steven Dake
edad2c6654
remove old files that are no longer needed.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@891 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-16 06:29:08 +00:00
Steven Dake
a4538aee95
defect 1024
...
YKD algorithm doesn't always work when new_message_queue is full.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@885 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-07 00:26:16 +00:00
Steven Dake
a2f2f2669b
Delete empty files.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@881 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-03 21:18:00 +00:00
Steven Dake
7b2ddfa428
enhancement 1020
...
Adds AMF B.01.01 support - still needs alot of work
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@879 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-03 05:51:38 +00:00
Steven Dake
d920864d61
enhancement 1019
...
Modify YKD to select primary component and execute the synchronization
operation only in the main partition. In the non-primary partition, no
new requests are allowed - they are all returned with the error code
SA_AIS_ERR_TRY_AGAIN.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@878 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-03 04:10:17 +00:00
Steven Dake
25061baa5b
defect 1006
...
on 64 bit platforms, the timer is not properly cleared resulting in segfaults
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@876 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-02 06:49:37 +00:00
Steven Dake
f5ee79a774
enhancement 1018
...
Add YKD dynamic voting algorithm to executive code
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@873 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-02 06:40:29 +00:00
Steven Dake
90c88404cd
enhancement 989
...
improve process group membership interface in totem_pg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@869 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-27 18:36:38 +00:00
Steven Dake
1020c951b3
lock service locks up under certain conditions this patch fixes that problem
...
from Mark
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@868 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-22 20:12:50 +00:00
Steven Dake
6dfa2cb0ed
defect 998
...
Sometimes the default section isn't synchronized
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@864 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-20 18:48:35 +00:00
Steven Dake
c4b3d9af4b
defect 982
...
Fixes ckpt list corruption on failure to allocate checkpoint replica
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@862 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-08 18:27:57 +00:00
Steven Dake
175ead199e
defect 988
...
The totem SRP handle is passed up the entire stack is not needed past certain
functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@860 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-12-06 18:42:29 +00:00
Steven Dake
e4dfef72d5
defect 979
...
This enhancement adds support for IPV6 to the trunk of openais.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@856 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-30 19:44:40 +00:00
Steven Dake
67fd2189d6
Fix defect 974
...
There was an infinite loop problem in the fix for defect 974
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@854 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-30 19:41:28 +00:00
Steven Dake
ecb97392f8
defect 932
...
This patch adds token sequence number and global sequence number rollover
support. A window is used to ensure comparisons are done properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@852 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-25 22:01:00 +00:00
Steven Dake
ff8e494243
defect 974
...
checkpoint service segfaults during synchronization because iteration item
is deleted and iteration continues in unsafe fashion.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@850 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-23 22:29:59 +00:00
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
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
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
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
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
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
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
Steven Dake
fbdb04b8cf
defect 629
...
Return error if checkpoint has been unlinked on retentation duration set
(Logical change 1.210)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@676 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:40:45 +00:00
Steven Dake
3f05a6fd64
defect 628
...
saCkptCheckpointStatusGet test case 13 from saftest fails
(Logical change 1.209)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@675 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:39:51 +00:00
Steven Dake
f047d8f44f
defect 577
...
Implement token holding mode
(Logical change 1.207)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@670 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Mark Haverkamp
b3767775c4
Fixes to patterns and filters for B API spec support.
...
(Logical change 1.204)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@661 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-13 20:07:55 +00:00
Steven Dake
8420e3b62a
defect 604
...
report fragmentation messages missing.
(Logical change 1.203)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@658 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-07 21:23:48 +00:00
Steven Dake
45b82e1eba
defect 600
...
Qian Zhang reported defect 599 which was a missing
pthread_mutex_unlock. Patch attached to fix it.
(Logical change 1.202)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@657 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:35:05 +00:00
Steven Dake
8a8983126d
defect 595
...
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite.
(Logical change 1.200)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@650 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Steven Dake
d128af9396
defect 592
...
If ActiveReplicaSet is called, the correct return values are not
returned, causing failures in the saf test suite.
(Logical change 1.198)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@646 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:11:20 +00:00
Steven Dake
a7a2c41da3
adds evs_membership_get api
...
(Logical change 1.196)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@642 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:37:31 +00:00
Mark Haverkamp
ade5ce30de
Allow services to use the openais.conf file for setting custom options.
...
Evt now allows the maximum delivery queue size and the resume size to be
set in openais.conf
(Logical change 1.195)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@639 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Mark Haverkamp
632a94dd7d
Allow services to use the openais.conf file for setting custom options.
...
(Logical change 1.195)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Miyotaka Sakai
2e38f2f85b
Failover doesn't happen when CTL-Z and process kill
...
(Logical change 1.194)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@636 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:47:14 +00:00
Mark Haverkamp
2b18ac9b77
More updates to make event conform to B spec.
...
(Logical change 1.193)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@633 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:46:41 +00:00
Mark Haverkamp
4c203d518d
Add support for user specified timeouts from openais.conf
...
(Logical change 1.191)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@628 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-04 17:08:55 +00:00
Steven Dake
f127cb9714
defect 529
...
dont ignore commit token which was causing strange semantics.
(Logical change 1.190)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@627 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-29 21:10:39 +00:00
Steven Dake
23ea3ea3b3
defect 498 - reduce network traffic from merge detection
...
(Logical change 1.188)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@622 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:44:20 +00:00
Steven Dake
8b7d9fbc4d
defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working
...
(Logical change 1.187)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@620 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 18:32:17 +00:00
Steven Dake
3d8dbf1d32
defect 505 - fix uncompilable with gcc 2.95
...
(Logical change 1.186)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@619 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 00:57:34 +00:00
Mark Haverkamp
501e7987eb
For defect 501.
...
Fix possible stale pointers in async lists if an application
disconnects before its command has been fully processed.
(Logical change 1.184)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@615 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-20 21:46:14 +00:00
Steven Dake
e503df31d8
defect 42 - evs service doesn't send config change on evs_initialize
...
(Logical change 1.183)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@612 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 21:27:27 +00:00
Steven Dake
444d87049e
Fix assert when recovery fails and messages are accepted in the gather state.
...
(Logical change 1.182)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@610 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 19:53:25 +00:00
Steven Dake
0bf800e0db
Fixes a condition which would result in a proc set and failed set
...
being equal which would force the algorithm to never reach
consensus in the membership algorithm.
(Logical change 1.181)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@608 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:30:39 +00:00
Steven Dake
c64f378df1
totem packet size changed from 1408 to 1404 because a field was
...
added to the mcast header.
(Logical change 1.180)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@607 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
8368fa8387
turn off random dropping of packets by default.
...
2005/04/15 16:27:14-07:00 mvista.com!sdake
Major fixes to the recovery phase of the totem protocol. The
remainder of the protocol remains unchanged.
The protocol now properly adds the right messages to the right
queues during recovery. The protocol properly handles failures
in the recovery state.
(Logical change 1.180)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@605 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
e14520f859
add an assert to catch a weird case.
...
(Logical change 1.180)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@603 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
bfe42ca422
autodetect endian and wordsize with gnuisms
...
(Logical change 1.179)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@601 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:15:41 +00:00
Steven Dake
0dd9d0999f
fix defect 477 - header size calculated incorrectly results in assert
...
(Logical change 1.178)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@599 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 21:07:01 +00:00
Steven Dake
7d1b8e0d11
defect 188 - use two fds instead of one fd for I/Os to executive
...
(Logical change 1.175)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@594 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
94a50283e7
(Logical change 1.175)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@592 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
c3e125b165
defect 478 - remove extra parameter to config change.
...
(Logical change 1.174)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
194511a39b
Fix defect 456
...
when checkpoint expirse, the executive crashes if no bind address was specified
(Logical change 1.173)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@588 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:33:33 +00:00
Steven Dake
1ff6f56a48
Add default section support to checkpoints.
...
(Logical change 1.172)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@584 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
50f9bbdf24
Patch from Muni and Mark to properly calculate the header size
...
field so that the totem delivery assertion doesn't assert when
using ckpt services.
(Logical change 1.171)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@580 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-08 21:12:48 +00:00
Mark Haverkamp
5f1e727245
Make sure that the message count in the message matches the actual length
...
of the message.
(Logical change 1.170)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@578 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-06 19:37:30 +00:00
Mark Haverkamp
fe62f602f1
Replace assert with a return. This will allow the custer to continue
...
to run. This happens when a joining node receives a message from a node
that it doesn't know about yet. This is a temporary fix for now.
(Logical change 1.169)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@576 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 15:56:49 +00:00
Steven Dake
ee38b3da97
Patch from Miyotaka Sakai to fix access to free area defect 426.
...
(Logical change 1.168)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@575 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 01:51:09 +00:00
Steven Dake
3c98ff2d84
change around this_ip to better support ifup/ifdown
...
(Logical change 1.167)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@573 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
64e4978f00
add some support functions relating to this_ip
...
(Logical change 1.167)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@572 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
2f594f9a28
add ifup/ifdown binding to totem single ring protocol
...
(Logical change 1.167)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@571 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Miyotaka Sakai
09628d7212
fix not to transit state when process terminate
...
(Logical change 1.166)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@568 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-30 22:29:58 +00:00
Steven Dake
46c6c4f47c
Patch from Muni Bajpai to not setup a cleanup handler for a
...
checkpoint when a checkpoint open fails. Patch also fixes up
checkpoint iterators so they do not crash on process exit.
(Logical change 1.164)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@563 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-29 22:43:15 +00:00
Miyotaka Sakai
6b512c3231
fix configuration change
...
(Logical change 1.163)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@561 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 22:49:18 +00:00
Steven Dake
688323e33d
Remove extra debug printf.
...
(Logical change 1.162)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@559 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
29585e709f
The totem protocol would not previously merge a configuration
...
until a multicast message was sent. This change sends a special
"merge detect" message if no message has been multicast in some
time from the representative. This merge detect message will
trigger other processors to enter the gather state and form
a new configuration if they were not previously part of the
current configuration.
(Logical change 1.161)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@556 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
60049623b6
Build aisexec when libtotem.a changes.
...
(Logical change 1.161)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@555 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Mark Haverkamp
790c36084c
This update allows retained events from a merging partition to
...
be delivered to applications with the associated channels already
open at the time of the merge.
(Logical change 1.160)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@553 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:22:39 +00:00
Mark Haverkamp
00fc37a307
Fix an off by one error causing a bad event ID to be sent after
...
a recovery in some cases.
(Logical change 1.155)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@542 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:22:34 +00:00
Mark Haverkamp
81b83714ec
Event service now reconciles open channels and retained events between active
...
merging partitions.
(Logical change 1.154)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@541 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 22:44:28 +00:00
Steven Dake
0affa78f7d
Change few ERROR loggings to DEBUG loggings from Muni Bajpai.
...
(Logical change 1.153)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@538 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 21:25:31 +00:00
Steven Dake
1e3efb5ec5
Block multicast messages during synchronization.
...
(Logical change 1.151)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@535 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 23:41:41 +00:00
Steven Dake
20f0520e8d
cleanup some shared datatypes.
...
(Logical change 1.150)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@532 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
4129c94111
cleanup some shared datatypes
...
(Logical change 1.150)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@531 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
9a903a77f9
(Logical change 1.150)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@530 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
ec940ed753
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@528 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:53 +00:00
Steven Dake
b56cb8123d
Fix bug in sync which caused segfault.
...
(Logical change 1.148)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@525 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
3e6bf37300
Allow totemsrp to remove the reference information for a token callback.
...
(Logical change 1.148)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@523 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
fb67519e32
Checkpoint synchronization patch from Muni Bajpai.
...
(Logical change 1.146)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@517 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-14 22:39:56 +00:00
Mark Haverkamp
58cf2b9a20
New event service recovery code implementation for totem and the new
...
sync services.
(Logical change 1.144)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@514 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 22:08:07 +00:00
Steven Dake
7aeb6b2fc4
Cluster membership synchronization support
...
(Logical change 1.143)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@512 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 19:46:11 +00:00
Steven Dake
4fc3c8e21f
Synchronization base code added.
...
(Logical change 1.142)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@508 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
248a68cc94
(Logical change 1.142)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@507 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
a880290b36
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@506 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:44 +00:00
Steven Dake
4196c44187
em64t support
...
(Logical change 1.141)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@505 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-27 06:27:31 +00:00
Steven Dake
365d2bf598
Auto merged
...
2005/02/16 17:24:12-07:00 mvista.com!sdake
send ring_id through configuration changes patch from Muni Bajpai.
(Logical change 1.139)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@501 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Steven Dake
eb8657f1e9
send ring_id through configuration changes patch from Muni Bajpai.
...
(Logical change 1.139)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@499 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Mark Haverkamp
299ec450df
Set default event ID.
...
(Logical change 1.138)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@496 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 23:10:40 +00:00
Mark Haverkamp
191871bb73
Add unlink function.
...
(Logical change 1.137)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@493 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 16:54:46 +00:00
Steven Dake
bc65a96a33
Increase code coverage by removing some debug code
...
(Logical change 1.136)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@488 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-09 00:34:16 +00:00
Steven Dake
c32d4f3fd5
defect 245 - revise checkpoint service to B.01.01.
...
(Logical change 1.135)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@485 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
da9bedb150
Add more text output to display what occurs during recovery.
...
Fix recovery bug which results in segfault.
fix defect 228 - ring id file deleted causes assert.
Fix recovery bug where recovery doesn't complete.
Fix assert on commit phase.
(Logical change 1.134)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@480 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:51:46 +00:00
Mark Haverkamp
cd76f75d0a
Add handler for channel open async
...
(Logical change 1.133)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@478 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 17:16:52 +00:00
Mark Haverkamp
c720930bfb
This fixes a potential problem where, because of a config change, a joining
...
node may not have a previous fragment of a message. It now discards
continuations of that message until it is complete and a new message
arrives.
(Logical change 1.132)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@476 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:33:20 +00:00
Mark Haverkamp
f091cf2a65
Use B spec include files
...
(Logical change 1.130)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@466 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
b5d82dce9a
Convert to B spec.
...
Add in endian conversion functions.
(Logical change 1.130)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@465 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
0b115aa650
update dependencies
...
(Logical change 1.130)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@462 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Steven Dake
4770543a23
Update cluster membership service to B.01.01.
...
(Logical change 1.127)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@452 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
bb4188967a
Update print data to new node structure.
...
(Logical change 1.127)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@449 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
b6959ce427
fix defect 131 - member element not set in cluster membership service
...
(Logical change 1.126)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@444 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
e3741ea9f3
More fixes for defect 204. From Mark Haverkamp:
...
|Looking at the totempg config change function, I think that leaving
|members should have their assembly area reset. I assume that any data
|that is there is now invalid, and we wouldn't want it hanging around if
|they return. Also, I think that the wrong index was being used to
|initialize the assembly area index.
(Logical change 1.126)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@443 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
e6a0eca16a
Fix from mark and daniel for small packet sizes in totempg resulting
...
in segfault.
(Logical change 1.125)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@441 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 22:07:48 +00:00
Steven Dake
09d20d5f1e
random drop defined to on.. turning off.
...
(Logical change 1.125)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@440 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 22:07:48 +00:00
Steven Dake
ce60bbfc27
Fixes defect 204 : messages not delivered correctly
...
Patch from Mark Haverkamp.
(Logical change 1.124)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@437 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:53:30 +00:00
Steven Dake
0f959ea931
Fix bug in implementation that deviates from specification.
...
(Logical change 1.123)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@436 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:52:36 +00:00
Steven Dake
5ab2ec0d67
Remove priorities from all interfaces.
...
(Logical change 1.121)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@427 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-27 19:37:39 +00:00
Steven Dake
065f5d34a8
Fix defect 203 commit token asserts
...
(Logical change 1.120)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@426 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-24 19:44:07 +00:00
Mark Haverkamp
8ff1c73543
Temp config change code
...
(Logical change 1.119)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@423 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-24 19:04:45 +00:00
Mark Haverkamp
7c77f613eb
remove debug print
...
(Logical change 1.119)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@422 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-24 19:04:45 +00:00
Steven Dake
6d4bd5b8ff
Remove random dropping of packets in released version.
...
(Logical change 1.118)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@421 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 21:28:45 +00:00
Steven Dake
154abaa2b8
Delete: exec/gmi.c
...
}(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@416 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
39409fcb01
update to new crypto code
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@414 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
ccefb26ff7
update to new crypto code.
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@413 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
940a8d7292
(Logical change 1.117)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@412 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
a4bf2f872d
update to new totem code.
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@410 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
bcb248163b
Delete: exec/gmi.h
...
}(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@409 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
31f5ab43ef
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@408 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:46 +00:00
Miyotaka Sakai
a726f69fb0
For Protection Group Tracking Bug
...
(Logical change 1.114)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@402 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-10 15:28:00 +00:00
Steven Dake
58a8fa85fb
Fix required for previous tlist.c commit.
...
(Logical change 1.113)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@400 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-08 17:53:32 +00:00
Steven Dake
2065cc1706
Fix use of memory area after free when timer_fn deletes a timer.
...
The 3 cases are:
1. timer_fn deletes its own timer
2. timer_fn deletes next timer after its own timer
3. timer_fn deletes any other timer
(Logical change 1.112)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@398 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-08 09:16:42 +00:00
Steven Dake
b3737d2eb4
correct stack corruption when logging data.
...
(Logical change 1.107)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@388 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 23:28:48 +00:00
Steven Dake
454a5af4e8
remove extra printf from gmi.
...
(Logical change 1.107)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@387 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 23:28:48 +00:00
Steven Dake
6250b3fba5
Fix compile with gcc 2.95.
...
(Logical change 1.106)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@385 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 22:32:21 +00:00
Steven Dake
ec2ff56744
Kristen Smith reported a bug where evs would return 0.0.0.0 in the
...
source address. This patch fixes that defect 182.
(Logical change 1.105)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@382 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-12 19:17:34 +00:00
somacoma
5146c0c1cf
Fix type-punning warnings with gcc-3.3 and later.
...
(Logical change 1.104)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@380 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-07 23:33:57 +00:00
Steven Dake
24577db3a1
Commit timeout wasn't stopped when entering gather state. This patch stops
...
the commit timeout when the gather state is entered.
(Logical change 1.103)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@379 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-06 17:42:26 +00:00
Miyotaka Sakai
09f9e43fcf
match function name to coding style
...
(Logical change 1.102)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@376 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-05 16:29:29 +00:00
Miyotaka Sakai
a106e2693f
append keygen.o to clean target
...
(Logical change 1.102)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@375 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-05 16:29:29 +00:00
Miyotaka Sakai
9781fe3332
implement gmi_token_callback in amf.c
...
(Logical change 1.101)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@374 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-04 22:37:03 +00:00
Miyotaka Sakai
305ebfcf43
fix wrong HaStat after node join
...
(Logical change 1.100)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@370 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-02 21:02:49 +00:00
Steven Dake
d5d47a4e11
Add rlimit code to allow openais to work with linux kernel 2.6.9 or later
...
(Logical change 1.99)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@368 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-30 00:07:11 +00:00
Steven Dake
c9e60d3573
Remove specific o files instead of all objects.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@365 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
e2c260f251
Type checking changes for printf's
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@364 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
0c666cff56
Fix off by one which could cause invalid handle to be used.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@362 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
ea09155b39
remove type-punned pointer warning
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@358 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
e443ea67c2
Fix crash in parser.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@357 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Mark Haverkamp
882e10e411
1. manage the base event ID a little better.
...
2. I also added some private log levels to allow me to selectively turn
on debug output in some sections of the code without turning on
everything.
3. Remove (EVT) from all the printf calls.
(Logical change 1.97)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@354 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-22 21:16:53 +00:00
Steven Dake
3f4c9f5588
Change logging to include service and description.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@353 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
dcc8ea3119
Change loggint o include service and description.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@352 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
0d90b61b8d
Add log print service.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@351 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
58a1955fbd
Delete: exec/log/print.c
...
}(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@350 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
0e0e2f2c9e
Add log service level.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@349 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
e794e35ae5
Change parser to read new configuration file format.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@345 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
f7036e88ac
Delete: exec/log/print.h
...
}(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@343 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
d7b4430e70
Some changes for log services.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@342 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00