Patrick Caulfield
443a74e5b5
Add man pages for confdb functions.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1518 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-17 13:14:28 +00:00
Patrick Caulfield
ca765f24ec
Fix some typos in the CPG man pages
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1517 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-17 09:54:09 +00:00
Patrick Caulfield
9ab240e478
Add confdb, a library to access the configuration object database.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1516 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-16 12:07:05 +00:00
Patrick Caulfield
ba85a91983
Fix locking in logsys.
...
Patch from Fabio M. Di Nitto <fabbione@fabbione.net>
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1515 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-04-16 10:13:06 +00:00
Patrick Caulfield
2846b57ea1
Add some new calls into objdb.
...
These allow replacing/removing keys, and deleting a whole object subtree,
iterator functions to enumerate all objects/keys on an object,
and a dump call for debugging.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1505 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-03-10 15:18:12 +00:00
Steven Dake
26ac9b46d8
Patch to install liblogsys
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1495 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-01-08 05:22:12 +00:00
Steven Dake
371a64173c
Remove closing of ttys that slipped in improperly.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1494 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-01-08 05:12:05 +00:00
Steven Dake
9a314e04dc
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
2007-12-10 21:20:01 +00:00
Steven Dake
97618d8c4f
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
2007-12-10 21:09:48 +00:00
Steven Dake
93ce442597
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
2007-12-10 21:06:12 +00:00
Steven Dake
b77d7692fe
fix install broken when O=<DIR> is used
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1489 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-11-28 18:54:54 +00:00
Steven Dake
b471e97b07
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
2007-11-28 18:52:35 +00:00
Steven Dake
f755b34a6c
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
2007-11-28 18:31:03 +00:00
Steven Dake
632d33d4e7
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
2007-11-28 18:05:51 +00:00
Steven Dake
8803c75760
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
2007-11-28 18:04:55 +00:00
Steven Dake
fb9c19d634
Remove & when regular reference works properly.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1483 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-11-28 18:03:54 +00:00
Steven Dake
2872347abe
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
2007-11-28 18:03:12 +00:00
Steven Dake
d4fb0a7bba
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
2007-11-28 17:59:52 +00:00
Fabien Thomas
30c10a4384
add missing objdb for static build
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1476 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-10-25 09:46:00 +00:00
Steven Dake
609141f521
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
2007-10-22 16:18:59 +00:00
Steven Dake
c5ce3f5a5c
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
2007-10-22 16:16:29 +00:00
Steven Dake
ba2f3a391a
Fix missing commit from timer.c in trunk.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1472 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-10-22 15:53:45 +00:00
Steven Dake
f40e9a1283
Endian convert downlist messages from cpg.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1470 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-10-22 15:42:36 +00:00
Fabien Thomas
2890fe39bd
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
2007-10-16 13:20:24 +00:00
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
Patrick Caulfield
2c76838531
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
2007-10-10 10:28:14 +00:00
Steven Dake
d0f5ef7ed1
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
2007-10-02 16:29:33 +00:00
Steven Dake
c39ae9cc70
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
2007-09-28 01:31:34 +00:00
Steven Dake
11453080bb
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
2007-09-28 01:30:50 +00:00
Steven Dake
983ee42d4c
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
2007-09-28 01:08:39 +00:00
Steven Dake
94612689e1
Fix linking of library objects.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1459 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-27 22:16:58 +00:00
Steven Dake
fc1a08d411
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
2007-09-27 09:14:02 +00:00
Steven Dake
16d73f15da
Fix static libs installation logic inversion
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1457 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-27 09:12:46 +00:00
Steven Dake
b6071cc4c0
Makefile system improvements from Angus Salkeld
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1456 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-27 08:50:17 +00:00
Patrick Caulfield
dc1c4ae279
Install logsys.h rather than print.h
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1454 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-20 15:26:52 +00:00
Steven Dake
37e4f0f59c
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
2007-09-15 20:48:31 +00:00
Steven Dake
dcf2bb0137
Allow missing spots in the synchronization engine
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1448 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-15 20:32:36 +00:00
Steven Dake
be835fb345
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
2007-09-15 20:14:55 +00:00
Steven Dake
3e788da191
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
2007-09-11 19:27:13 +00:00
Steven Dake
d03f47ac6e
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
2007-09-09 07:00:53 +00:00
Steven Dake
39d4d5fbd1
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
2007-09-09 07:00:13 +00:00
Steven Dake
e132bc580c
Expose utils to the user
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1442 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:58:41 +00:00
Steven Dake
adb37f5d49
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
2007-09-09 06:57:41 +00:00
Steven Dake
f7bd11657b
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
2007-09-09 06:51:39 +00:00
Steven Dake
aedf0ed6ad
Use makefile loops where possible
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1439 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:50:52 +00:00
Steven Dake
2551a393c4
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
2007-09-09 06:50:18 +00:00
Steven Dake
73d4db719d
Add extra brackets to clarify scope.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1437 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:49:43 +00:00
Steven Dake
1570bcf26b
Fix build dependencies
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1436 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:47:57 +00:00
Steven Dake
73bebf8ef2
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
2007-09-09 06:47:16 +00:00
Steven Dake
45823185e7
Missing stdlib.h from lcr_ifact.c.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1434 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:46:41 +00:00