Patrick Caulfield
94561626e6
Remove some includes from .h files so they can be installed.
...
Also install flow.h & ipc.h for external services.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1467 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-10-10 10:33:55 +00:00
Steven Dake
113a3c4f88
The logsys logging system. Read logsys_overview.8.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1428 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:38:10 +00:00
Steven Dake
ca24b42838
Fix problem in synchronization engine which results in possible failures of
...
the synchronization engine.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1424 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:12:56 +00:00
Steven Dake
ad3506cfdc
Fix bug where if checkpoint section is expired about the same time as a
...
checkpoint is deleted, a warning would be displayed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1398 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-25 08:45:58 +00:00
Steven Dake
0a19a21f1b
Remove this_ip from the source tree and replace with accessor functions.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1379 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-05 08:55:44 +00:00
Steven Dake
64fb1d1c18
Change timers to add duration and absolute timers. Use nanoseconds since
...
epoch to track timers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1378 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-06-04 23:21:46 +00:00
Steven Dake
f3cd7588d4
Fix section iteration size comparison
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1367 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-04-24 23:10:51 +00:00
Steven Dake
cb154572a2
Patch from Renaud to report some broken Solaris porting from past.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1353 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-06 16:18:44 +00:00
Hans Feldt
97919b8d16
Cleaning up and preparing for later patch.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1310 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-11-17 06:57:00 +00:00
Steven Dake
f9f0931cb4
Update checkpoint service from all qualifications that have occured in
...
whitetank branch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1299 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-11-10 17:46:22 +00:00
Steven Dake
336dc17daa
Forward port of flow control work from whitetank branch.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1289 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-11-04 22:29:14 +00:00
Hans Feldt
65a7cde3c2
- Fix for bug: 'default section created when syncing'
...
- Section count synced correctly
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1243 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-09-25 06:48:38 +00:00
Hans Feldt
d0c6c25c98
global_ckpt_id fix #2
...
ckpt dump function
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1242 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-09-25 06:46:29 +00:00
Hans Feldt
1351bebe3e
Fix for global_ckpt_id not synced
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1239 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-09-11 07:15:53 +00:00
Hans Feldt
bfa9d1f9f0
- ckpt_id was not synced.
...
- debug printout of list reduced
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1238 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-09-06 05:40:06 +00:00
Steven Dake
6a00f63ff9
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
2006-07-28 23:34:28 +00:00
Steven Dake
806258b5c3
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
2006-07-26 07:39:53 +00:00
Steven Dake
19ad21f536
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
2006-07-21 03:07:14 +00:00
Steven Dake
24777c184f
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
2006-07-20 04:50:15 +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
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
ad2fa27191
deferred timer system so that timers may be deferred during synchronization.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1067 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-16 19:51:55 +00:00
Steven Dake
985d2f3989
defect 1270
...
Fix checkpoint read operation which would return invalid operation in some
circumstances.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1050 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 19:41:01 +00:00
Steven Dake
483a9baac7
The redundant ring take 4 patch. This includes modes for active, passive,
...
and none. Read openais.conf.5 for information regarding how to configure
redundant ring.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1032 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 19:49:40 +00:00
Hans Feldt
905ba3b406
- printouts buffered before log_setup() has been called, flushed at early exit.
...
- rests of old logging removed from all code (#define LOG_SERVICE...).
- line feed added if not in message.
- new trace() function added so that trace macros adds minimum of code and runtime penalties to user code.
- ENTER_ARGS macro changed to ENTER. ENTER macro now requires arguments.
- openais.conf.5 man page updated with logger directives.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1021 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-03 08:45:44 +00:00
Steven Dake
f50a6a11c8
Patch from Hans to significantly improve the logging functionality
...
read openais.conf.5 for info on how the new logging works.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@995 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-18 19:53:18 +00:00
Steven Dake
758719ea87
fix fc5 segfault correctly by removing code that violates strict aliasing
...
rules.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@983 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 23:20:03 +00:00
Steven Dake
6a49f1befc
defect 1139
...
reorg of code to better support creating external service handlers
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@972 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-08 22:05:51 +00:00
Steven Dake
b8589392f1
defect 1172
...
checkpoint service asserts under load during configuration changes
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@962 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-31 19:55:52 +00:00
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
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
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
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
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
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
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
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
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
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
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