]> git.proxmox.com Git - mirror_corosync.git/log
mirror_corosync.git
18 years agoAdd scalability to 128 nodes by adding new parameter to protocol which is
Steven Dake [Wed, 16 Aug 2006 04:25:47 +0000 (04:25 +0000)]
Add scalability to 128 nodes by adding new parameter to protocol which is
a random timeout bounded by a configuration parameter when sending join
messages.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1214 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoReturn ERR_TIMEOUT if timeout value is zero in saEvtChannelOpen
Steven Dake [Wed, 16 Aug 2006 01:21:52 +0000 (01:21 +0000)]
Return ERR_TIMEOUT if timeout value is zero in saEvtChannelOpen

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1211 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix make install to install clm shared object files properly.
Steven Dake [Wed, 16 Aug 2006 00:08:52 +0000 (00:08 +0000)]
Fix make install to install clm shared object files properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1208 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoImprove recovery code to produce correct printf notice outputs.
Steven Dake [Wed, 16 Aug 2006 00:05:02 +0000 (00:05 +0000)]
Improve recovery code to produce correct printf notice outputs.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1207 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix debug output for testckpt service.
Steven Dake [Wed, 16 Aug 2006 00:04:27 +0000 (00:04 +0000)]
Fix debug output for testckpt service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1206 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years ago- New sync state machine, implemented and described in amf.c
Hans Feldt [Fri, 11 Aug 2006 12:28:10 +0000 (12:28 +0000)]
- New sync state machine, implemented and described in amf.c
- One AMF node reads the AMF config file (IMM style)
- One AMF node syncs others AMF nodes
- One AMF object is serialized and sent as one message
- Serialization/deserialization of most objects is trivial (memcpy)
except for component and csi-attributes objects which have variable size
arrays/strings.
- Depth first AMF object tree traversal preserves relations when syncing
- Ordered lists of SUs and SIs
- Constructors/destructor per class
- Serializers/deserializers per class
- Config-change changes sync state
- Sync callbacks executes the sync
- "Use case" tracing for sync using the SYNCTRACE macro (trace6)
- Sync master is initially the winner of a timeout race and if the
master leaves the cluster, the node with the lowest node ID becomes new master.
- amf_malloc implements an AMF central malloc routine with error handling.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1200 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agofixe a bug in cpg where get_group() will return the wrong group
Patrick Caulfield [Fri, 11 Aug 2006 07:37:15 +0000 (07:37 +0000)]
fixe a bug in cpg where get_group() will return the wrong group
info structure if there is a hash collision.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1199 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix checkpoint header file error
Steven Dake [Mon, 7 Aug 2006 22:49:36 +0000 (22:49 +0000)]
Fix checkpoint header file error

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1178 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCommitted a bunch of changes for testing scalability - reverting patch
Steven Dake [Sat, 5 Aug 2006 08:51:06 +0000 (08:51 +0000)]
Committed a bunch of changes for testing scalability - reverting patch

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1177 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agonon-blocking syslog and file logging support
Steven Dake [Sat, 5 Aug 2006 02:23:40 +0000 (02:23 +0000)]
non-blocking syslog and file logging support

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1176 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoSolaris port for openais
Steven Dake [Sat, 5 Aug 2006 02:22:12 +0000 (02:22 +0000)]
Solaris port for openais

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1175 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMake sure sync_activate is called only once per service handler.
Steven Dake [Thu, 3 Aug 2006 05:32:11 +0000 (05:32 +0000)]
Make sure sync_activate is called only once per service handler.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1174 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemoves the hardcoded limit of environment variables and argvs from components, now...
Hans Feldt [Wed, 2 Aug 2006 08:24:58 +0000 (08:24 +0000)]
Removes the hardcoded limit of environment variables and argvs from components, now unlimited.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1172 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years ago- Handling of HUP and other poll errors improved in saAmfDispatch.
Hans Feldt [Tue, 1 Aug 2006 05:56:30 +0000 (05:56 +0000)]
- Handling of HUP and other poll errors improved in saAmfDispatch.
- Termination of testamf1 when saAmfDispatch returns an error.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1171 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoPatch so realloc reverts to old buffer if reallocation fails.
Steven Dake [Fri, 28 Jul 2006 23:34:28 +0000 (23:34 +0000)]
Patch so realloc reverts to old buffer if reallocation fails.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1170 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix lock marshalling.
Steven Dake [Fri, 28 Jul 2006 23:33:57 +0000 (23:33 +0000)]
Fix lock marshalling.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1169 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEndian conversion for evs service.
Steven Dake [Wed, 26 Jul 2006 07:42:50 +0000 (07:42 +0000)]
Endian conversion for evs service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1168 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEndian cleanup for ykd.
Steven Dake [Wed, 26 Jul 2006 07:41:44 +0000 (07:41 +0000)]
Endian cleanup for ykd.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1167 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCleanup log_printf to use gnu attributes to do automatic type checking.
Steven Dake [Wed, 26 Jul 2006 07:39:53 +0000 (07:39 +0000)]
Cleanup log_printf to use gnu attributes to do automatic type checking.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1166 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEndian conversion for the lock service.
Steven Dake [Wed, 26 Jul 2006 07:32:43 +0000 (07:32 +0000)]
Endian conversion for the lock service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1165 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoUse memb_ring_id_copy for alignment purposes on 64 aligned arches and keep
Steven Dake [Wed, 26 Jul 2006 07:21:08 +0000 (07:21 +0000)]
Use memb_ring_id_copy for alignment purposes on 64 aligned arches and keep
the port id in host byte order until it is used in the totem protocol stack.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1164 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAdd endian cleanup fixes.
Steven Dake [Wed, 26 Jul 2006 07:11:26 +0000 (07:11 +0000)]
Add endian cleanup fixes.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1163 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoClean up endian swabbing for cpg service.
Steven Dake [Wed, 26 Jul 2006 07:07:22 +0000 (07:07 +0000)]
Clean up endian swabbing for cpg service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1162 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix where setsockopt is bound to in totemnet.
Steven Dake [Wed, 26 Jul 2006 06:58:28 +0000 (06:58 +0000)]
Fix where setsockopt is bound to in totemnet.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1161 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCleanup comparisons in lcr_ifact and use strtok_r instead of junky parser.
Steven Dake [Wed, 26 Jul 2006 06:57:52 +0000 (06:57 +0000)]
Cleanup comparisons in lcr_ifact and use strtok_r instead of junky parser.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1160 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAdd errno.h include since it was removed from swab.h.
Steven Dake [Wed, 26 Jul 2006 06:55:10 +0000 (06:55 +0000)]
Add errno.h include since it was removed from swab.h.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1159 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove bunch of unused includes from swab.h.
Steven Dake [Wed, 26 Jul 2006 06:53:50 +0000 (06:53 +0000)]
Remove bunch of unused includes from swab.h.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1158 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix processor count in evs interface.
Steven Dake [Wed, 26 Jul 2006 06:51:17 +0000 (06:51 +0000)]
Fix processor count in evs interface.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1157 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEndian cleanup for the clm service.
Steven Dake [Wed, 26 Jul 2006 06:50:22 +0000 (06:50 +0000)]
Endian cleanup for the clm service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1156 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAllow build type of COVERAGE for code coverage analysis
Steven Dake [Mon, 24 Jul 2006 01:34:17 +0000 (01:34 +0000)]
Allow build type of COVERAGE for code coverage analysis

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1152 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEnsure make install works with recent libcfg changes.
Steven Dake [Fri, 21 Jul 2006 20:30:29 +0000 (20:30 +0000)]
Ensure make install works with recent libcfg changes.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1151 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAdd a 'family' parameter to totemip_parse so it can be told to look for
Patrick Caulfield [Fri, 21 Jul 2006 12:22:05 +0000 (12:22 +0000)]
Add a 'family' parameter to totemip_parse so it can be told to look for
either IPv4 or IPv6 addresses, or both.

As we get the (unambiguous) multicast address first, we can make sure we always
look for the right type of node address afterwards.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1150 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoIncrease IPC thread stack size from 100k to 200k to accomodate larger data
Steven Dake [Fri, 21 Jul 2006 09:01:12 +0000 (09:01 +0000)]
Increase IPC thread stack size from 100k to 200k to accomodate larger data
structures in ipc message handlers (for the CLM service).

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1149 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove TODO for swabbing conn data structure
Steven Dake [Fri, 21 Jul 2006 03:30:40 +0000 (03:30 +0000)]
Remove TODO for swabbing conn data structure

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1148 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoValidate IO Vector elements in a saCkptCheckpointWrite operation
Steven Dake [Fri, 21 Jul 2006 03:26:22 +0000 (03:26 +0000)]
Validate IO Vector elements in a saCkptCheckpointWrite operation

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1147 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove TODO comment that has long been fixed in the code.
Steven Dake [Fri, 21 Jul 2006 03:18:03 +0000 (03:18 +0000)]
Remove TODO comment that has long been fixed in the code.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1146 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCorrect malloc of checkpoint iteration size from 500 bytes to max section id
Steven Dake [Fri, 21 Jul 2006 03:07:14 +0000 (03:07 +0000)]
Correct malloc of checkpoint iteration size from 500 bytes to max section id
size bytes for the created checkpoint

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1145 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoReduce memory usage in large configurations by dynamically allocating
Steven Dake [Fri, 21 Jul 2006 02:39:21 +0000 (02:39 +0000)]
Reduce memory usage in large configurations by dynamically allocating
fragmentation assembly buffer.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1144 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove marshall TODO items as they are not needed
Steven Dake [Fri, 21 Jul 2006 02:33:13 +0000 (02:33 +0000)]
Remove marshall TODO items as they are not needed

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1143 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove unnecessary exit from testevs
Steven Dake [Thu, 20 Jul 2006 22:39:22 +0000 (22:39 +0000)]
Remove unnecessary exit from testevs

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1142 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove debug printf in totemsrp
Steven Dake [Thu, 20 Jul 2006 10:01:57 +0000 (10:01 +0000)]
Remove debug printf in totemsrp

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1141 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoDon't segfault if unauthorized user connects
Steven Dake [Thu, 20 Jul 2006 04:51:32 +0000 (04:51 +0000)]
Don't segfault if unauthorized user connects

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1140 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMake checkpoint service work according to specifications with regards to the
Steven Dake [Thu, 20 Jul 2006 04:50:15 +0000 (04:50 +0000)]
Make checkpoint service work according to specifications with regards to the
unlink operation.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1139 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove compile warning from cfgtool commit.
Steven Dake [Wed, 19 Jul 2006 19:33:20 +0000 (19:33 +0000)]
Remove compile warning from cfgtool commit.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1138 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAdd support for reenabling a failed redundant ring and printing ring status
Steven Dake [Wed, 19 Jul 2006 19:31:01 +0000 (19:31 +0000)]
Add support for reenabling a failed redundant ring and printing ring status
through the test/opeanis-cfgtool application.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1137 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoSend the new joinlists using the sync service, so it happens atomically.
Patrick Caulfield [Wed, 19 Jul 2006 15:32:25 +0000 (15:32 +0000)]
Send the new joinlists using the sync service, so it happens atomically.
This should fix some odd sequencing bugs.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1136 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoprinting ipv6 addresses often needs more than a 32 byte buffer. THis could
Patrick Caulfield [Tue, 18 Jul 2006 06:33:39 +0000 (06:33 +0000)]
printing ipv6 addresses often needs more than a 32 byte buffer. THis could
causes a crash with sone ipv6 installations.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1135 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoSupport for ia64 arch builds.
Steven Dake [Mon, 17 Jul 2006 22:36:13 +0000 (22:36 +0000)]
Support for ia64 arch builds.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1133 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix synchronization not working properly.
Steven Dake [Mon, 17 Jul 2006 21:52:55 +0000 (21:52 +0000)]
Fix synchronization not working properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1132 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoEvent marshalling patch for 32/64/endian support.
Steven Dake [Mon, 17 Jul 2006 20:16:14 +0000 (20:16 +0000)]
Event marshalling patch for 32/64/endian support.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1131 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoIf version field is NULL as passed to saClmInitialize, return INVALID_PARAM
Steven Dake [Mon, 17 Jul 2006 06:18:19 +0000 (06:18 +0000)]
If version field is NULL as passed to saClmInitialize, return INVALID_PARAM

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1130 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoIf TRACK_CURRENT is specified in CLM service and notify buffer is null,
Steven Dake [Mon, 17 Jul 2006 06:17:47 +0000 (06:17 +0000)]
If TRACK_CURRENT is specified in CLM service and notify buffer is null,
return tracking data in callback as per specification.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1129 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove debug printf in track stop operation
Steven Dake [Mon, 17 Jul 2006 06:15:47 +0000 (06:15 +0000)]
Remove debug printf in track stop operation

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1128 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCheck for invalid handles first in API calls.
Steven Dake [Mon, 17 Jul 2006 06:14:33 +0000 (06:14 +0000)]
Check for invalid handles first in API calls.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1127 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoIf the max section size is less then the read size, return INVALID_PARAM.
Steven Dake [Mon, 17 Jul 2006 06:12:11 +0000 (06:12 +0000)]
If the max section size is less then the read size, return INVALID_PARAM.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1126 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoReturn INVALID_PARAM when section read is larger then checkpoint section
Steven Dake [Mon, 17 Jul 2006 02:20:37 +0000 (02:20 +0000)]
Return INVALID_PARAM when section read is larger then checkpoint section

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1125 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCheckpointRead wasn't checking the active replica was set.
Steven Dake [Sun, 16 Jul 2006 21:58:35 +0000 (21:58 +0000)]
CheckpointRead wasn't checking the active replica was set.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1124 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe creation attributes set bit wasn't set from the library to executive
Steven Dake [Sun, 16 Jul 2006 21:50:39 +0000 (21:50 +0000)]
The creation attributes set bit wasn't set from the library to executive
message handlers causing significant problems with open was called from a app.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1123 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe open flags are used before they are verified to be valid.
Steven Dake [Sun, 16 Jul 2006 21:49:36 +0000 (21:49 +0000)]
The open flags are used before they are verified to be valid.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1122 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoProper barrier operation as requested.
Steven Dake [Fri, 14 Jul 2006 21:09:57 +0000 (21:09 +0000)]
Proper barrier operation as requested.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1121 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAdd support for s390 and s390x architectures.
Steven Dake [Thu, 13 Jul 2006 22:02:47 +0000 (22:02 +0000)]
Add support for s390 and s390x architectures.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1120 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix library renames to 2.0.0 as needed by distros.
Steven Dake [Thu, 13 Jul 2006 21:57:35 +0000 (21:57 +0000)]
Fix library renames to 2.0.0 as needed by distros.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1119 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoUpdate to checkpoint service to use new APIs as rest of services do.
Steven Dake [Tue, 11 Jul 2006 23:41:56 +0000 (23:41 +0000)]
Update to checkpoint service to use new APIs as rest of services do.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1118 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix broken timers when release type set to RELEASE
Steven Dake [Mon, 10 Jul 2006 23:51:43 +0000 (23:51 +0000)]
Fix broken timers when release type set to RELEASE

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1117 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove dead definition of struct queue
Steven Dake [Mon, 10 Jul 2006 22:22:21 +0000 (22:22 +0000)]
Remove dead definition of struct queue

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1116 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMissing commit from previous rename of saServiceConnectTwo
Steven Dake [Mon, 10 Jul 2006 22:19:46 +0000 (22:19 +0000)]
Missing commit from previous rename of saServiceConnectTwo

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1115 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRename saConnectServiceTwo to saConnectService
Steven Dake [Mon, 10 Jul 2006 22:18:32 +0000 (22:18 +0000)]
Rename saConnectServiceTwo to saConnectService

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1114 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix typo in saMsg.h header file.
Steven Dake [Mon, 10 Jul 2006 22:12:49 +0000 (22:12 +0000)]
Fix typo in saMsg.h header file.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1113 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRev versions to 2.0 and update versions script for all services
Steven Dake [Mon, 10 Jul 2006 22:11:43 +0000 (22:11 +0000)]
Rev versions to 2.0 and update versions script for all services

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1112 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe member list, joined list, and left list in configuration changes
Steven Dake [Fri, 7 Jul 2006 19:44:11 +0000 (19:44 +0000)]
The member list, joined list, and left list in configuration changes
was not valid.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1111 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoremove commited conflict
Fabien Thomas [Fri, 7 Jul 2006 16:35:21 +0000 (16:35 +0000)]
remove commited conflict

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1110 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agotestcpg -i shows node ids as IP addresses.
Patrick Caulfield [Fri, 7 Jul 2006 09:36:03 +0000 (09:36 +0000)]
testcpg -i shows node ids as IP addresses.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1109 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years ago- Error escalation improved, SU failover recovery action added
Hans Feldt [Fri, 7 Jul 2006 08:04:01 +0000 (08:04 +0000)]
- Error escalation improved, SU failover recovery action added
- Most runtime attributes in the inf. model calculated in runtime from
  more fundamental information. (improves consistency)
- sg_assign_si can now recalculate workloads considering existing
  assignments
- Logging improvements, similar to what is required as notification in
  AMF spec.
- CLC-CLI INSTANTIATE now exits aisexec when it fails (should later be
  sent as an NTF alarm)
- CLC-CLI CLEANUP correctly handles already terminated processes
- testamf1.c printouts removed for normal operation
- Iterator functions for SI/CSI assignments

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1108 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMake sure RELEASE version detaches from tty
Steven Dake [Fri, 7 Jul 2006 01:34:55 +0000 (01:34 +0000)]
Make sure RELEASE version detaches from tty

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1105 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe testcpg tool now prints IP addresses instead of a hex value indicating the
Steven Dake [Thu, 6 Jul 2006 22:34:14 +0000 (22:34 +0000)]
The testcpg tool now prints IP addresses instead of a hex value indicating the
node id.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1103 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe recent endian/32/64 changes broke cpg callbacks. The left list address
Steven Dake [Thu, 6 Jul 2006 22:33:41 +0000 (22:33 +0000)]
The recent endian/32/64 changes broke cpg callbacks.  The left list address
was incorrectly calculated.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1102 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoThe totem rrp incorrectly increased the wrong failure counter.
Steven Dake [Thu, 6 Jul 2006 21:08:48 +0000 (21:08 +0000)]
The totem rrp incorrectly increased the wrong failure counter.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1101 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agomarshall of cpg_join name field is wrong.
Steven Dake [Fri, 30 Jun 2006 19:21:30 +0000 (19:21 +0000)]
marshall of cpg_join name field is wrong.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1100 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRework of the timer system to allow timers to be added in dispatch handlers.
Steven Dake [Thu, 29 Jun 2006 22:03:08 +0000 (22:03 +0000)]
Rework of the timer system to allow timers to be added in dispatch handlers.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1099 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRewrite of the checkpoint benchmark using threads tool
Steven Dake [Thu, 29 Jun 2006 21:41:51 +0000 (21:41 +0000)]
Rewrite of the checkpoint benchmark using threads tool

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1098 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoset serialize lock to proper function.
Steven Dake [Thu, 29 Jun 2006 04:05:47 +0000 (04:05 +0000)]
set serialize lock to proper function.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1097 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRework of IPC layer once again
Steven Dake [Thu, 29 Jun 2006 00:01:10 +0000 (00:01 +0000)]
Rework of IPC layer once again

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1096 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix problem where AMF locks up system if two or more components are members
Steven Dake [Tue, 27 Jun 2006 23:42:38 +0000 (23:42 +0000)]
Fix problem where AMF locks up system if two or more components are members
of the same service unit.  Also fixes problem where AMF asserts if two or
more components are specified in a service unit.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1095 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix 32/64 endian for all services from a previous missed commit.
Steven Dake [Tue, 27 Jun 2006 23:37:06 +0000 (23:37 +0000)]
Fix 32/64 endian for all services from a previous missed commit.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1094 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix double free problem in ipc by reworking libais_disconnect to match previous
Steven Dake [Tue, 27 Jun 2006 23:31:21 +0000 (23:31 +0000)]
Fix double free problem in ipc by reworking libais_disconnect to match previous
rewritten model in picacho.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1092 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoAMF changes:
Hans Feldt [Tue, 27 Jun 2006 08:49:07 +0000 (08:49 +0000)]
AMF changes:
- Revised cluster start
- Includes Steven's "amf invalid write patch"
- Includes "components not started with 0.76" patch
- New timer API use backed out of AMF (temporary)

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1091 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFinally remove all references to ais_amf.h and replace with saAmf.h.
Steven Dake [Mon, 26 Jun 2006 21:02:00 +0000 (21:02 +0000)]
Finally remove all references to ais_amf.h and replace with saAmf.h.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1090 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoCorrected timer deadlock that occurs when a timer add or delete operation
Steven Dake [Mon, 26 Jun 2006 20:30:44 +0000 (20:30 +0000)]
Corrected timer deadlock that occurs when a timer add or delete operation
occurs within a timer expiration event.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1089 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemoved ais_amf.h and instead point all refs to saAmf.h
Steven Dake [Mon, 26 Jun 2006 20:30:15 +0000 (20:30 +0000)]
Removed ais_amf.h and instead point all refs to saAmf.h

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1088 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRemove dead file
Steven Dake [Sun, 25 Jun 2006 20:29:14 +0000 (20:29 +0000)]
Remove dead file

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1087 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMissed commit of marshall file for some reason.
Steven Dake [Fri, 23 Jun 2006 20:49:19 +0000 (20:49 +0000)]
Missed commit of marshall file for some reason.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1086 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoMake cpg 32/64 userland safe and endian safe.
Steven Dake [Fri, 23 Jun 2006 18:38:25 +0000 (18:38 +0000)]
Make cpg 32/64 userland safe and endian safe.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1085 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix message alignment in CPG.
Patrick Caulfield [Thu, 22 Jun 2006 16:07:30 +0000 (16:07 +0000)]
Fix message alignment in CPG.
we now unpack the message in the same way as we pack it.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1084 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoChange makefile to install swab from correct place
Steven Dake [Wed, 21 Jun 2006 23:32:46 +0000 (23:32 +0000)]
Change makefile to install swab from correct place

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1081 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoNew make release in top level makefile
Steven Dake [Wed, 21 Jun 2006 23:03:11 +0000 (23:03 +0000)]
New make release in top level makefile

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1077 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoModify AMF to use new timer.c/timer.h routines properly
Steven Dake [Wed, 21 Jun 2006 21:32:03 +0000 (21:32 +0000)]
Modify AMF to use new timer.c/timer.h routines properly

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1076 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years ago32/64/mixed endian support for checkpoint service.
Steven Dake [Wed, 21 Jun 2006 21:15:16 +0000 (21:15 +0000)]
32/64/mixed endian support for checkpoint service.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1074 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix for early logging from Hans.
Steven Dake [Wed, 21 Jun 2006 21:13:34 +0000 (21:13 +0000)]
Fix for early logging from Hans.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1073 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoFix error where pathlist buffer is overrun resulting in segfault
Steven Dake [Wed, 21 Jun 2006 21:10:05 +0000 (21:10 +0000)]
Fix error where pathlist buffer is overrun resulting in segfault

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1072 fd59a12c-fef9-0310-b244-a6a79926bd2f

18 years agoRefactoring of AMF into several files (based on classed in inf.
Hans Feldt [Tue, 20 Jun 2006 06:45:16 +0000 (06:45 +0000)]
Refactoring of AMF into several files (based on classed in inf.
model). A central header file (amf.h) keeps all the definitions and
prototypes needed.

New things apart from that:
- some doxygen html generated from AMF e.g. each file has a description
- saAmfHAStateGet() now works
- component invoked healthchecks implemented (but not tested)

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1071 fd59a12c-fef9-0310-b244-a6a79926bd2f