]> git.proxmox.com Git - mirror_corosync.git/log
mirror_corosync.git
16 years agosrcdir is not set when realpath & abspath don't work
Steven Dake [Mon, 10 Dec 2007 21:20:01 +0000 (21:20 +0000)]
srcdir is not set when realpath & abspath don't work

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

16 years agoForce logging to stderr if the -f flag is specified.
Steven Dake [Mon, 10 Dec 2007 21:09:48 +0000 (21:09 +0000)]
Force logging to stderr if the -f flag is specified.

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

16 years agoAllow multiple config plugins to be loaded at start time and set the config
Steven Dake [Mon, 10 Dec 2007 21:06:12 +0000 (21:06 +0000)]
Allow multiple config plugins to be loaded at start time and set the config
object database objects.

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

16 years agofix install broken when O=<DIR> is used
Steven Dake [Wed, 28 Nov 2007 18:54:54 +0000 (18:54 +0000)]
fix install broken when O=<DIR> is used

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

16 years agoPatch to make sure make clean works as advertised.
Steven Dake [Wed, 28 Nov 2007 18:52:35 +0000 (18:52 +0000)]
Patch to make sure make clean works as advertised.

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

16 years agoProperly daemonize and dup file descriptors to /dev/null.
Steven Dake [Wed, 28 Nov 2007 18:31:03 +0000 (18:31 +0000)]
Properly daemonize and dup file descriptors to /dev/null.

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

16 years agoMake sure to unlock the handle database on a failure condition.
Steven Dake [Wed, 28 Nov 2007 18:05:51 +0000 (18:05 +0000)]
Make sure to unlock the handle database on a failure condition.

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

16 years agoPatch to set system from field properly in retransmitted messages.
Steven Dake [Wed, 28 Nov 2007 18:04:55 +0000 (18:04 +0000)]
Patch to set system from field properly in retransmitted messages.

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

16 years agoRemove & when regular reference works properly.
Steven Dake [Wed, 28 Nov 2007 18:03:54 +0000 (18:03 +0000)]
Remove & when regular reference works properly.

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

16 years agoPatch to not increment the ring seq id on the first operational ring.
Steven Dake [Wed, 28 Nov 2007 18:03:12 +0000 (18:03 +0000)]
Patch to not increment the ring seq id on the first operational ring.

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

16 years agomake install now works properly on systems which produce wierd uname results
Steven Dake [Wed, 28 Nov 2007 17:59:52 +0000 (17:59 +0000)]
make install now works properly on systems which produce wierd uname results

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

16 years agoadd missing objdb for static build
Fabien Thomas [Thu, 25 Oct 2007 09:46:00 +0000 (09:46 +0000)]
add missing objdb for static build

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

16 years agoPatch to provide generic init script that is generically useful for most
Steven Dake [Mon, 22 Oct 2007 16:18:59 +0000 (16:18 +0000)]
Patch to provide generic init script that is generically useful for most
distributions or can be used as a starting point for making a distribution
custom init script.

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

16 years agoPatch to close all open files on background run operation.
Steven Dake [Mon, 22 Oct 2007 16:16:29 +0000 (16:16 +0000)]
Patch to close all open files on background run operation.

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

16 years agoFix missing commit from timer.c in trunk.
Steven Dake [Mon, 22 Oct 2007 15:53:45 +0000 (15:53 +0000)]
Fix missing commit from timer.c in trunk.

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

16 years agoEndian convert downlist messages from cpg.
Steven Dake [Mon, 22 Oct 2007 15:42:36 +0000 (15:42 +0000)]
Endian convert downlist messages from cpg.

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

16 years agocorrect ifdef that must be ifndef because under FreeBSD alloca.h is in stdlib.h
Fabien Thomas [Tue, 16 Oct 2007 13:20:24 +0000 (13:20 +0000)]
correct ifdef that must be ifndef because under FreeBSD alloca.h is in stdlib.h

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

16 years agoRemove some includes from .h files so they can be installed.
Patrick Caulfield [Wed, 10 Oct 2007 10:33:55 +0000 (10:33 +0000)]
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

16 years agoFix openais.conf example and man page to match the new logsys directives.
Patrick Caulfield [Wed, 10 Oct 2007 10:28:14 +0000 (10:28 +0000)]
Fix openais.conf example and man page to match the new logsys directives.

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

16 years agoFix problem where adding a timer in a timer callback would lock system
Steven Dake [Tue, 2 Oct 2007 16:29:33 +0000 (16:29 +0000)]
Fix problem where adding a timer in a timer callback would lock system
and also timer additions were not protected by mutex because of backwards
pthread_equal comparison.

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

16 years agosegfault does not use source.conn unless the originating
Steven Dake [Fri, 28 Sep 2007 01:31:34 +0000 (01:31 +0000)]
segfault does not use source.conn unless the originating
request is local. The actual code tries to dereference pointers
created on another node.

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

16 years agolock_algo queues lock requests rather than ignoring them if
Steven Dake [Fri, 28 Sep 2007 01:30:50 +0000 (01:30 +0000)]
lock_algo queues lock requests rather than ignoring them if
an exclusive lock is held on a resource. This led to stale
processes trying to acquire an exclusive lock forever.

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

16 years agoPatch to fix dependencies in build of test programs.
Steven Dake [Fri, 28 Sep 2007 01:08:39 +0000 (01:08 +0000)]
Patch to fix dependencies in build of test programs.

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

16 years agoFix linking of library objects.
Steven Dake [Thu, 27 Sep 2007 22:16:58 +0000 (22:16 +0000)]
Fix linking of library objects.

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

16 years agoAllow override of the LCRSO directory from the Makefiles or command line
Steven Dake [Thu, 27 Sep 2007 09:14:02 +0000 (09:14 +0000)]
Allow override of the LCRSO directory from the Makefiles or command line

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

16 years agoFix static libs installation logic inversion
Steven Dake [Thu, 27 Sep 2007 09:12:46 +0000 (09:12 +0000)]
Fix static libs installation logic inversion

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

16 years agoMakefile system improvements from Angus Salkeld
Steven Dake [Thu, 27 Sep 2007 08:50:17 +0000 (08:50 +0000)]
Makefile system improvements from Angus Salkeld

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

17 years agoInstall logsys.h rather than print.h
Patrick Caulfield [Thu, 20 Sep 2007 15:26:52 +0000 (15:26 +0000)]
Install logsys.h rather than print.h

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

17 years agoFix reference counting in LCR code. Also fix problem with inability to compile
Steven Dake [Sat, 15 Sep 2007 20:48:31 +0000 (20:48 +0000)]
Fix reference counting in LCR code.  Also fix problem with inability to compile
from the exec directory because PREFIX wasn't defined for lcr_ifact.c.

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

17 years agoAllow missing spots in the synchronization engine
Steven Dake [Sat, 15 Sep 2007 20:32:36 +0000 (20:32 +0000)]
Allow missing spots in the synchronization engine

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

17 years agoFixes the following problems:
Steven Dake [Sat, 15 Sep 2007 20:14:55 +0000 (20:14 +0000)]
Fixes the following problems:
1) the encapsulated and not encapsulated values for multicast messages
are now enumerated instead of magic number.
2) the endian detector is now set for new encapsulated messages intended
for transmission.  previously these messages would use whichever endian
detector value happened to be in memory which could be a) correct endian
b) incorrect endian from another machine byte order message c) junk
values.
3) The retransmission flag is not set by default on new originated
tokens in the recovery state.  Instead it is set based upon whether the
node actually can retransmit any messages.
4) some workaround code was removed that was necessary to make the
system work when #3 was incorrect
5) the my_install_seq and my_aru fields are compared based upon a window
instead of static comparison because it could be that the my_aru is
0xFFFFFF5 where my_install_seq is 5.  In this case (after a lot of
messages are sent) the comparison would return the incorrect result in
the recovery phase of the algorithm.
6) The queue chosen for adding messages to the retransmission queue is
now set based upon the encapsulated bit rather then the current state of
the state machine.
7) the encapsulated bit is set properly in an endian conversion
operation for a multicast message header.

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

17 years agoAdd missing files from the ais utils exporting patch.
Steven Dake [Tue, 11 Sep 2007 19:27:13 +0000 (19:27 +0000)]
Add missing files from the ais utils exporting patch.

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

17 years agoCalculate the default path based on the project value of PREFIX
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

17 years agoEnsure DESTDIR and PREFIX are properly used in Makefiles
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

17 years agoExpose utils to the user
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

17 years agoNow that -l is set correclt yuse #include <header.h> instead of using quotes.
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

17 years agoStatic libraries become out of date on Darwin once they are copied or moved
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

17 years agoUse makefile loops where possible
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

17 years agoProvide information as to why a plugin refused to load
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

17 years agoAdd extra brackets to clarify scope.
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

17 years agoFix build dependencies
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

17 years agoIf iface_ver0_p is not reset, then as long as the first plugin loads
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

17 years agoMissing stdlib.h from lcr_ifact.c.
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

17 years agoHZ not always defined on all Linux systems.
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

17 years agoPatch to allow CFLAGS and LDFLAGS modifications to take effect
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

17 years agoLogsys testing system.
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

17 years agoFixes for the logsys system.
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

17 years agoThe man page for the logsys logging system.
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

17 years agoThe logsys logging system. Read logsys_overview.8.
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

17 years agototem srp merge from whitetank
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

17 years agoPatch to log security warnings when invalid identifier is used in message
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

17 years agoFix problem in synchronization engine which results in possible failures of
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

17 years agoPatch to allocate event dispatch data in saEvtInitialize instead of directly
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

17 years agoPatch to not overwrite defualt configuration file or amf.conf file when
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

17 years agoAllow make doxygen to work properly
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

17 years agoPatch to add amf_strdup instead of malloc and then copy for amf service.
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

17 years agoFix minor leaks caused by not calling pthread_mutex_destroy throughout the tree.
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

17 years agoPatch to fix compile warning on mac platforms.
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

17 years agoAdd the testcpg2 file missing from a previous commit.
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

17 years agoremove warnings under Darwin for missing includes and too many parameters in TRACE2
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

17 years agoClear pid when we leave a process group
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

17 years agoFix bug where if checkpoint section is expired about the same time as a
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

17 years agoUpdate testckpt program to properly test checkpoint system.
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

17 years agoAdd cpg_local_get api to cpg service
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

17 years agoAdd IP address takeover as an AMF component
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

17 years agoAdd passive monitoring support to AMF.
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

17 years agoAdd man pages for cpg_context_* and fix library exports to include them too.
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

17 years agoInstall the timer.h file so it can be used by
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

17 years agoCurrently saLckResourceUnlockAsync leaves the lockid in the handle database even
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

17 years agorepair BSD/Darwin build by moving HZ constant in tlist.h
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

17 years agoCast away a compile warning
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

17 years agoRemove this_ip from the source tree and replace with accessor functions.
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

17 years agoChange timers to add duration and absolute timers. Use nanoseconds since
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

17 years agoAdd get/set context API calls to the cpg service.
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

17 years agoDon't try and remove a lock from a list if it's not on one, but DO remove
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

17 years agoSanitize the ETCDIR usage in the Makefiles.
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

17 years agoUse rync -a when cp -a is not available on MAC OSX platform install
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

17 years agoThis patch fixes the marshalling of lock names in libSaLck, they
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

17 years agoon 32 bit platforms, the message source conn info could have uninitialized
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

17 years agoIn trunk, totemip.h and totem.h call for "../include/swab.h" - this works fine
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

17 years agoFix section iteration size comparison
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

17 years agoPrint Unknown Time if the time is unknown of an event.
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

17 years agoChange tab alignment on checkpoint write operation to match coding style guidelines
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

17 years agoFixes problem where if attributes list is zero, library would segfault
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

17 years agochange references to evs to cpg to match API
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

17 years agoPatch from Angus to fix return code of saAmfResponse if the handle was invalid.
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

17 years agoFix documentation errors in cpg service.
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

17 years agoSolaris port patch to fix a few problems from last big patch.
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

17 years agoPatch to allow BSD/Linux systems to compile with latest Solaris porting patch.
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

17 years agoPatch from Renaud to report some broken Solaris porting from past.
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

17 years agoThis patch improves AMF's behaviour for handling component instantiation level.
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

17 years agoWas writing to random mem using an uninitialized pointer
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

17 years agoDisplay the names of the configuration files used by openais.
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

17 years agoAdd two notifications about things to avoid to ensure proper operation of the parser.
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

17 years agoFixes from Zoltan regarding AMF mispellings and type errors.
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

17 years ago- improves the inclosed dokumentation in amfsu,amfsg and amnode.
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

17 years ago1 The patch contains mainly updates of the header documentation in the
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

17 years agoFix unaligned access for ia64 arch.
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

17 years agoFix typo in pthread_mutex_destroy.
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

17 years agoExecute pthread destroy in queue_free in trunk.
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