]>
git.proxmox.com Git - mirror_corosync.git/log
Steven Dake [Sun, 9 Sep 2007 07:00:53 +0000 (07:00 +0000)]
Calculate the default path based on the project value of PREFIX
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1444
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 07:00:13 +0000 (07:00 +0000)]
Ensure DESTDIR and PREFIX are properly used in Makefiles
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1443
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:58:41 +0000 (06:58 +0000)]
Expose utils to the user
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1442
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:57:41 +0000 (06:57 +0000)]
Now that -l is set correclt yuse #include <header.h> instead of using quotes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1441
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:51:39 +0000 (06:51 +0000)]
Static libraries become out of date on Darwin once they are copied or moved
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1440
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:50:52 +0000 (06:50 +0000)]
Use makefile loops where possible
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1439
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:50:18 +0000 (06:50 +0000)]
Provide information as to why a plugin refused to load
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1438
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:49:43 +0000 (06:49 +0000)]
Add extra brackets to clarify scope.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1437
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:47:57 +0000 (06:47 +0000)]
Fix build dependencies
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1436
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:47:16 +0000 (06:47 +0000)]
If iface_ver0_p is not reset, then as long as the first plugin loads
then all subsequent plugins will report success.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1435
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:46:41 +0000 (06:46 +0000)]
Missing stdlib.h from lcr_ifact.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1434
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:46:03 +0000 (06:46 +0000)]
HZ not always defined on all Linux systems.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1433
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:45:35 +0000 (06:45 +0000)]
Patch to allow CFLAGS and LDFLAGS modifications to take effect
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1432
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:43:20 +0000 (06:43 +0000)]
Logsys testing system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1431
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:41:19 +0000 (06:41 +0000)]
Fixes for the logsys system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1430
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:38:27 +0000 (06:38 +0000)]
The man page for the logsys logging system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1429
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:38:10 +0000 (06:38 +0000)]
The logsys logging system. Read logsys_overview.8.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1428
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:24:00 +0000 (06:24 +0000)]
totem srp merge from whitetank
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1427
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:15:31 +0000 (06:15 +0000)]
Patch to log security warnings when invalid identifier is used in message
header for a totem message.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1425
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 9 Sep 2007 06:12:56 +0000 (06:12 +0000)]
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
Steven Dake [Fri, 24 Aug 2007 19:45:23 +0000 (19:45 +0000)]
Patch to allocate event dispatch data in saEvtInitialize instead of directly
on the stack for small thread-stack sized dispatch functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1421
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 11 Aug 2007 04:40:42 +0000 (04:40 +0000)]
Patch to not overwrite defualt configuration file or amf.conf file when
executing make install
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1420
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 11 Aug 2007 04:36:52 +0000 (04:36 +0000)]
Allow make doxygen to work properly
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1418
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 11 Aug 2007 04:35:50 +0000 (04:35 +0000)]
Patch to add amf_strdup instead of malloc and then copy for amf service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1417
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 7 Aug 2007 23:52:21 +0000 (23:52 +0000)]
Fix minor leaks caused by not calling pthread_mutex_destroy throughout the tree.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1412
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 7 Aug 2007 23:49:24 +0000 (23:49 +0000)]
Patch to fix compile warning on mac platforms.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1411
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 2 Jul 2007 21:13:52 +0000 (21:13 +0000)]
Add the testcpg2 file missing from a previous commit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1405
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabien Thomas [Mon, 2 Jul 2007 12:41:53 +0000 (12:41 +0000)]
remove warnings under Darwin for missing includes and too many parameters in TRACE2
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1404
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Mon, 25 Jun 2007 12:34:44 +0000 (12:34 +0000)]
Clear pid when we leave a process group
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1399
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 25 Jun 2007 08:45:58 +0000 (08:45 +0000)]
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
Steven Dake [Mon, 25 Jun 2007 08:45:29 +0000 (08:45 +0000)]
Update testckpt program to properly test checkpoint system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1397
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 25 Jun 2007 03:04:35 +0000 (03:04 +0000)]
Add cpg_local_get api to cpg service
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1391
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 24 Jun 2007 06:44:27 +0000 (06:44 +0000)]
Add IP address takeover as an AMF component
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1388
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 23 Jun 2007 09:14:15 +0000 (09:14 +0000)]
Add passive monitoring support to AMF.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1386
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Thu, 14 Jun 2007 14:21:49 +0000 (14:21 +0000)]
Add man pages for cpg_context_* and fix library exports to include them too.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1385
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Wed, 13 Jun 2007 09:09:10 +0000 (09:09 +0000)]
Install the timer.h file so it can be used by
external services and remove a dependency on tlist.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1384
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Wed, 13 Jun 2007 09:01:30 +0000 (09:01 +0000)]
Currently saLckResourceUnlockAsync leaves the lockid in the handle database even
when the lock has been unlocked. This can cause exec crashes if the lock is
unlocked twice.
This patch adds an extra field to the res_lib_lck_resourceunlockasync structure
so that the library can remove the lock from the handle database when the lock
is unlocked successfully, as well as code to do it, obviously.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1383
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabien Thomas [Tue, 12 Jun 2007 16:43:50 +0000 (16:43 +0000)]
repair BSD/Darwin build by moving HZ constant in tlist.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1381
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Tue, 5 Jun 2007 09:52:29 +0000 (09:52 +0000)]
Cast away a compile warning
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1380
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 5 Jun 2007 08:55:44 +0000 (08:55 +0000)]
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
Steven Dake [Mon, 4 Jun 2007 23:21:46 +0000 (23:21 +0000)]
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
Patrick Caulfield [Thu, 31 May 2007 09:41:37 +0000 (09:41 +0000)]
Add get/set context API calls to the cpg service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1377
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Wed, 30 May 2007 08:41:46 +0000 (08:41 +0000)]
Don't try and remove a lock from a list if it's not on one, but DO remove
it from the resources list when it gets unlocked.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1376
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 22 May 2007 15:45:31 +0000 (15:45 +0000)]
Sanitize the ETCDIR usage in the Makefiles.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1375
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 22 May 2007 15:44:42 +0000 (15:44 +0000)]
Use rync -a when cp -a is not available on MAC OSX platform install
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1374
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Fri, 18 May 2007 07:28:36 +0000 (07:28 +0000)]
This patch fixes the marshalling of lock names in libSaLck, they
were copied using memcpy, but the alignment of a mar_name_t is not necessarily
the same as SaNameT. This patch changes memcpy() to marshall_to_mar_name_t().
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1373
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 17 May 2007 20:37:20 +0000 (20:37 +0000)]
on 32 bit platforms, the message source conn info could have uninitialized
values.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1371
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Sat, 5 May 2007 14:02:53 +0000 (14:02 +0000)]
In trunk, totemip.h and totem.h call for "../include/swab.h" - this works fine
when building openais itself but causes problems when installed as those files
will not be in the right place.
So, I've moved these includes out of totemip.h and totem.h and into the .c files
that call them.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1370
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Apr 2007 23:10:51 +0000 (23:10 +0000)]
Fix section iteration size comparison
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1367
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Apr 2007 23:08:48 +0000 (23:08 +0000)]
Print Unknown Time if the time is unknown of an event.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1366
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Apr 2007 23:08:18 +0000 (23:08 +0000)]
Change tab alignment on checkpoint write operation to match coding style guidelines
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1365
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 24 Apr 2007 23:02:21 +0000 (23:02 +0000)]
Fixes problem where if attributes list is zero, library would segfault
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1362
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 21 Apr 2007 23:49:47 +0000 (23:49 +0000)]
change references to evs to cpg to match API
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1361
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 21 Apr 2007 00:02:29 +0000 (00:02 +0000)]
Patch from Angus to fix return code of saAmfResponse if the handle was invalid.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1360
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 21 Mar 2007 20:08:29 +0000 (20:08 +0000)]
Fix documentation errors in cpg service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1358
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 14 Mar 2007 19:02:49 +0000 (19:02 +0000)]
Solaris port patch to fix a few problems from last big patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1355
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 12 Mar 2007 17:28:44 +0000 (17:28 +0000)]
Patch to allow BSD/Linux systems to compile with latest Solaris porting patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1354
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 6 Mar 2007 16:18:44 +0000 (16:18 +0000)]
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
Hans Feldt [Fri, 26 Jan 2007 13:03:55 +0000 (13:03 +0000)]
This patch improves AMF's behaviour for handling component instantiation level.
AMF is complemented to handle termination and instantiation with respect to
instantiation level also for the following scenarios:
- SU restart
- termination/instantiation errors during component/SU restart
- instantiation error during cluster start up
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1352
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Thu, 25 Jan 2007 08:19:38 +0000 (08:19 +0000)]
Was writing to random mem using an uninitialized pointer
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1351
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jan 2007 17:39:43 +0000 (17:39 +0000)]
Display the names of the configuration files used by openais.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1350
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jan 2007 17:38:58 +0000 (17:38 +0000)]
Add two notifications about things to avoid to ensure proper operation of the parser.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1349
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jan 2007 17:07:50 +0000 (17:07 +0000)]
Fixes from Zoltan regarding AMF mispellings and type errors.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1348
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Thu, 18 Jan 2007 07:39:42 +0000 (07:39 +0000)]
- improves the inclosed dokumentation in amfsu,amfsg and amnode.
- improves error handling caused by the INSTANTIATE or CLEANUP command
while recovering with component_restart or su_restart
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1347
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Thu, 21 Dec 2006 12:33:39 +0000 (12:33 +0000)]
1 The patch contains mainly updates of the header documentation in the
amf_files
2 Correction of the misspelling in lib/cfg.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1346
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 18 Dec 2006 15:22:59 +0000 (15:22 +0000)]
Fix unaligned access for ia64 arch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1343
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 18 Dec 2006 15:21:28 +0000 (15:21 +0000)]
Fix typo in pthread_mutex_destroy.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1342
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 18 Dec 2006 15:09:31 +0000 (15:09 +0000)]
Execute pthread destroy in queue_free in trunk.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1341
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:44:19 +0000 (18:44 +0000)]
Fix mutex leak on various platforms.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1336
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:40:01 +0000 (18:40 +0000)]
Remove leak when pthread mutex isn't released
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1335
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:35:58 +0000 (18:35 +0000)]
Fix leak by forward porting a change already in whitetank.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1333
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:33:13 +0000 (18:33 +0000)]
Change timing parameters for trunk to something more reasonable for a busy network.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1332
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:21:33 +0000 (18:21 +0000)]
Convert some spaces to tabs that was already in the whitetank branch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1331
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:08:06 +0000 (18:08 +0000)]
Fix leak in uid and gid determination.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1328
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 18:03:55 +0000 (18:03 +0000)]
Fix flow control problem in trunk.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1327
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 12 Dec 2006 17:58:41 +0000 (17:58 +0000)]
Add rundir patch to /var/lib/openais.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1326
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Tue, 12 Dec 2006 17:47:33 +0000 (17:47 +0000)]
Fix ordering of join messages
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1324
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Mon, 11 Dec 2006 06:06:21 +0000 (06:06 +0000)]
Correct not initialized value of amf_comp in
amf_comp_find_from_conn_info ()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1322
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Mon, 11 Dec 2006 05:37:07 +0000 (05:37 +0000)]
This patch contians:
- AMF handles a component report of injurious health.
- AMF handles saAmfHealthcheckConfirm() SA_AIS_ERR_FAILED_OPERATION
so that if it's a recent recovery ongoing amf does nothing but if it's
no immediate recovery in progress, AMF invokes the recovery action
specified by the component when the health check is started If
the individual recommendation was SA_AMF_NO_RECOMMENDATION,
then AMF uses the configured recovery action for the component
(saAmfCompRecoveryOnError). If this recommendation also is
SA_AMF_NO_RECOMMENDATION, then AMF makes a component restart or
component/SU fail over counts on the value of
saAmfCompDisableRestart and saAmfSUFailover.
- Handling of cleanup of a component and health check response hardened.
- Time supervision and check return value of clc-cli CLEANUP command.
- Handle 'recommended recovery' specified by a component in an error
report. The potential recovery action to choose
implemented is - component restart - and - node fails over.
- The attribute saAmfCompDisableRestart is now recognizable which means
that if the component specifies 'Component restart' and restart is
disabled
then the SU in which the component is contained shall fall over.
- The attribute saAmfSUFailover will not be recognized. SU will always
fail
over as a single entity.
- A component can report an error on another component than itself.
- Implementation 'Instantiation Level' according to chapter 3.9.2 in the
AMF specification.
- Implementation of the escalation levels, component restart, SU
restart, SU fail over and Node fail over.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1321
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Wed, 6 Dec 2006 09:02:25 +0000 (09:02 +0000)]
Corrected amf.c bug that could cause segv
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1320
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Tue, 5 Dec 2006 12:36:29 +0000 (12:36 +0000)]
Correction to segv handler
Added abort handler
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1318
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Mon, 4 Dec 2006 14:28:40 +0000 (14:28 +0000)]
- Use of sync_request() in SYNC service
- sync_abort() callback implemented
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1317
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabien Thomas [Thu, 23 Nov 2006 08:49:21 +0000 (08:49 +0000)]
handle case where POLLHUP or POLLERR are not supported by OS
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1311
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Fri, 17 Nov 2006 06:57:00 +0000 (06:57 +0000)]
Cleaning up and preparing for later patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1310
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabien Thomas [Thu, 16 Nov 2006 17:36:52 +0000 (17:36 +0000)]
set default downcheck value to 1000ms
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1309
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabien Thomas [Thu, 16 Nov 2006 17:34:44 +0000 (17:34 +0000)]
remove invalid code / warnings detected by Intel compiler
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1308
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 13 Nov 2006 18:08:32 +0000 (18:08 +0000)]
Print information about when we enter the gather state and what state the
membership protocol is in when the token is lost.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1304
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 13 Nov 2006 17:55:51 +0000 (17:55 +0000)]
Forward port of IPC code from whitetank branch to fix known defects.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1303
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 13 Nov 2006 17:47:42 +0000 (17:47 +0000)]
Flushed printing for trunk branch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1302
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 13 Nov 2006 17:39:10 +0000 (17:39 +0000)]
Improve behavior of IPC flow control for CPG service during configuration
changes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1301
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 10 Nov 2006 17:46:22 +0000 (17:46 +0000)]
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
Steven Dake [Fri, 10 Nov 2006 17:45:38 +0000 (17:45 +0000)]
Recovery algorithms described in this document.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1298
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Fri, 10 Nov 2006 14:10:46 +0000 (14:10 +0000)]
improved cluster_applications_are_starting_sgs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1297
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Wed, 8 Nov 2006 12:13:39 +0000 (12:13 +0000)]
removed compiler warning in amfcomp.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1292
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Lon Hohberger [Wed, 8 Nov 2006 11:55:16 +0000 (11:55 +0000)]
This patch contains several corrections concerning SU and Node fail
over and some hardening concerning health check handling.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1291
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Patrick Caulfield [Tue, 7 Nov 2006 14:47:01 +0000 (14:47 +0000)]
2.6.19 kernel headers do not include IFA_RTA so we provide it.
Patch from Fabio Massimo Di Nitto
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1290
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 4 Nov 2006 22:29:14 +0000 (22:29 +0000)]
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
Steven Dake [Sat, 4 Nov 2006 22:20:24 +0000 (22:20 +0000)]
Updated readme.devmap file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1287
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Fri, 27 Oct 2006 09:58:59 +0000 (09:58 +0000)]
* Improvement of SU fail over to handle remove of those standby assignments
that doesn't directly is associated to the failing over SU's active assignments
in other SU's
* Improvement of Node fail over to handle remove of those standby assignments
that doesn't directly is associated to the failing over Node SU's active assignments
in other SU's.
* Improvement of SU fail over to handle si assignments to spare SU:s
* Improvement of Node fail over to handle si assignments to spare SU:s
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1285
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Hans Feldt [Tue, 24 Oct 2006 06:45:35 +0000 (06:45 +0000)]
AMF healthcheck keylen was not compared before matching key values
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1281
fd59a12c -fef9-0310-b244-
a6a79926bd2f