Steven Dake
bca534f38c
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
2006-07-17 06:18:19 +00:00
Steven Dake
4b14eb0001
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
2006-07-17 06:17:47 +00:00
Steven Dake
f44141fe11
Remove debug printf in track stop operation
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1128 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:15:47 +00:00
Steven Dake
cb5e848f3b
Check for invalid handles first in API calls.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1127 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:14:33 +00:00
Steven Dake
3cde5246a6
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
2006-07-17 06:12:11 +00:00
Steven Dake
b67675edc5
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
2006-07-17 02:20:37 +00:00
Steven Dake
918da2cd8d
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
2006-07-16 21:58:35 +00:00
Steven Dake
1af43fd206
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
2006-07-16 21:50:39 +00:00
Steven Dake
5a45b27fdc
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
2006-07-16 21:49:36 +00:00
Steven Dake
a778bba481
Proper barrier operation as requested.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1121 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-14 21:09:57 +00:00
Steven Dake
2e5f058714
Add support for s390 and s390x architectures.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1120 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-13 22:02:47 +00:00
Steven Dake
75b73bc3e0
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
2006-07-13 21:57:35 +00:00
Steven Dake
e167fbc727
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
2006-07-11 23:41:56 +00:00
Steven Dake
ef039b2973
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
2006-07-10 23:51:43 +00:00
Steven Dake
a569293a27
Remove dead definition of struct queue
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1116 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:22:21 +00:00
Steven Dake
cb148dbdc8
Missing commit from previous rename of saServiceConnectTwo
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1115 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:19:46 +00:00
Steven Dake
bcc232dcbc
Rename saConnectServiceTwo to saConnectService
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1114 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:18:32 +00:00
Steven Dake
fbfe92f7da
Fix typo in saMsg.h header file.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1113 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:12:49 +00:00
Steven Dake
cd52f094b0
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
2006-07-10 22:11:43 +00:00
Steven Dake
5d47c5f81c
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
2006-07-07 19:44:11 +00:00
Fabien Thomas
ee17f851cb
remove commited conflict
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1110 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-07 16:35:21 +00:00
Patrick Caulfield
663fb22d20
testcpg -i shows node ids as IP addresses.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1109 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-07 09:36:03 +00:00
Hans Feldt
62bc733e2e
- 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
2006-07-07 08:04:01 +00:00
Steven Dake
30d3eae80b
Make sure RELEASE version detaches from tty
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1105 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-07 01:34:55 +00:00
Steven Dake
c44688de57
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
2006-07-06 22:34:14 +00:00
Steven Dake
ec8b3a4214
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
2006-07-06 22:33:41 +00:00
Steven Dake
8f21967d74
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
2006-07-06 21:08:48 +00:00
Steven Dake
d0d088cdf8
marshall of cpg_join name field is wrong.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1100 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-30 19:21:30 +00:00
Steven Dake
ba70bff546
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
2006-06-29 22:03:08 +00:00
Steven Dake
c3354368da
Rewrite of the checkpoint benchmark using threads tool
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1098 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 21:41:51 +00:00
Steven Dake
cdfa2c00bf
set serialize lock to proper function.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1097 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 04:05:47 +00:00
Steven Dake
2c42f9e9a5
Rework of IPC layer once again
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1096 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-29 00:01:10 +00:00
Steven Dake
b800167c9f
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
2006-06-27 23:42:38 +00:00
Steven Dake
71ca38d92f
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
2006-06-27 23:37:06 +00:00
Steven Dake
c2f95b2c1d
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
2006-06-27 23:31:21 +00:00
Hans Feldt
154a857c3b
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
2006-06-27 08:49:07 +00:00
Steven Dake
b98d0e3824
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
2006-06-26 21:02:00 +00:00
Steven Dake
e0f1ae2f88
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
2006-06-26 20:30:44 +00:00
Steven Dake
e6516df88c
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
2006-06-26 20:30:15 +00:00
Steven Dake
872afbd81b
Remove dead file
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1087 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-25 20:29:14 +00:00
Steven Dake
fa13d07215
Missed commit of marshall file for some reason.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1086 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-23 20:49:19 +00:00
Steven Dake
1f60232e88
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
2006-06-23 18:38:25 +00:00
Patrick Caulfield
d84e890831
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
2006-06-22 16:07:30 +00:00
Steven Dake
5d5cefd4a5
Change makefile to install swab from correct place
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1081 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 23:32:46 +00:00
Steven Dake
a58dd5a88e
New make release in top level makefile
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1077 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 23:03:11 +00:00
Steven Dake
f9abb3899e
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
2006-06-21 21:32:03 +00:00
Steven Dake
01afe82393
32/64/mixed endian support for checkpoint service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1074 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:15:16 +00:00
Steven Dake
bf6fb91a1c
Fix for early logging from Hans.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1073 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:13:34 +00:00
Steven Dake
503d46f021
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
2006-06-21 21:10:05 +00:00
Hans Feldt
e993689ac5
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
2006-06-20 06:45:16 +00:00