]> git.proxmox.com Git - mirror_corosync.git/log
mirror_corosync.git
16 years agoFix to display strings safely in debug messages.
Angus Salkeld [Wed, 20 Aug 2008 01:00:44 +0000 (01:00 +0000)]
Fix to display strings safely in debug messages.

Display strings safely, even if they are invalid, e.g. data in a received
message was corrupted.

Author: Tim Beale <tim.beale@alliedtelesis.co.nz>

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

16 years agoProvide a way to configure (at compile time) message and queue sizes.
Angus Salkeld [Wed, 20 Aug 2008 00:57:40 +0000 (00:57 +0000)]
Provide a way to configure (at compile time) message and queue sizes.

This patch makes it possible to override the following #defines:
MESSAGE_SIZE_MAX
MESSAGE_QUEUE_MAX
SIZEQUEUE
FLOW_CONTROL_ENTRIES_ENABLE

If MESSAGE_SIZE_MAX is defined as 1024*64 (64K) and
MESSAGE_QUEUE_MAX defined as 512 you can change corosync's
memory footprint from ~48M to ~8M

So if you define MESSAGE_QUEUE_MAX, the queue size will
not be based on the message size any more.

To use this define the defines on the command line:
make CFLAGS="-DMESSAGE_SIZE_MAX=1024*64 -DMESSAGE_QUEUE_MAX=512"

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

16 years agoFix an assert caused by faulty sort-queue management.
Angus Salkeld [Wed, 20 Aug 2008 00:53:38 +0000 (00:53 +0000)]
Fix an assert caused by faulty sort-queue management.

sq.h
  - sq_items_release(): When clearing the items_inuse array, ensure that
    all of the memory is cleared. items_inuse is a uint array, not a
    byte array.

Author: Mark Wutzke <markw@alliedtelesis.co.nz>

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

16 years agoRepair typo which caused init script not to start corosync daemon.
Steven Dake [Fri, 15 Aug 2008 07:10:01 +0000 (07:10 +0000)]
Repair typo which caused init script not to start corosync daemon.

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

16 years agoMake rpmlint pass without warnings.
Steven Dake [Fri, 15 Aug 2008 07:09:16 +0000 (07:09 +0000)]
Make rpmlint pass without warnings.

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

16 years agoSet the override for LCRSODIR properly.
Steven Dake [Fri, 15 Aug 2008 06:18:33 +0000 (06:18 +0000)]
Set the override for LCRSODIR properly.

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

16 years agoFinish the renaming of openais to corosync in the tree.
Steven Dake [Fri, 15 Aug 2008 06:15:26 +0000 (06:15 +0000)]
Finish the renaming of openais to corosync in the tree.

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

16 years agoFix build breakage.
Steven Dake [Thu, 14 Aug 2008 19:07:03 +0000 (19:07 +0000)]
Fix build breakage.

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

16 years agoNew and improved loc command.
Steven Dake [Thu, 14 Aug 2008 18:35:15 +0000 (18:35 +0000)]
New and improved loc command.

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

16 years agoNew LOC command.
Steven Dake [Thu, 14 Aug 2008 18:25:22 +0000 (18:25 +0000)]
New LOC command.

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

16 years agoturn on executeable bit for loc.
Steven Dake [Thu, 14 Aug 2008 18:16:40 +0000 (18:16 +0000)]
turn on executeable bit for loc.

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

16 years agoInstall saAis.h header file.
Steven Dake [Thu, 14 Aug 2008 18:13:49 +0000 (18:13 +0000)]
Install saAis.h header file.

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

16 years agoUpdate svn commit scripts so they work properly and have proper permissions.
Steven Dake [Thu, 14 Aug 2008 17:50:44 +0000 (17:50 +0000)]
Update svn commit scripts so they work properly and have proper permissions.

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

16 years agoMove QUICKSTART to proper directory.
Steven Dake [Thu, 14 Aug 2008 17:30:29 +0000 (17:30 +0000)]
Move QUICKSTART to proper directory.

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

16 years agoFew man page cleanups and removal of amf.conf.5.
Steven Dake [Thu, 14 Aug 2008 17:12:01 +0000 (17:12 +0000)]
Few man page cleanups and removal of amf.conf.5.

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

16 years agoProper rename of openais usage to corosync throughout tree.
Steven Dake [Thu, 14 Aug 2008 16:54:46 +0000 (16:54 +0000)]
Proper rename of openais usage to corosync throughout tree.

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

16 years agoRevert patch 1633 which breaks build.
Steven Dake [Thu, 14 Aug 2008 16:44:26 +0000 (16:44 +0000)]
Revert patch 1633 which breaks build.

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

16 years agoMove openais* to corosync* in man pages.
Steven Dake [Thu, 14 Aug 2008 16:08:15 +0000 (16:08 +0000)]
Move openais* to corosync* in man pages.

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

16 years agoBuild corosync-keygen.
Steven Dake [Thu, 14 Aug 2008 16:05:32 +0000 (16:05 +0000)]
Build corosync-keygen.

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

16 years agoChange all occurances of openais to corosync.
Steven Dake [Thu, 14 Aug 2008 16:04:01 +0000 (16:04 +0000)]
Change all occurances of openais to corosync.

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

16 years agoreorganize include file to match installed tree to build openais without installing...
Fabien Thomas [Thu, 14 Aug 2008 14:59:50 +0000 (14:59 +0000)]
reorganize include file to match installed tree to build openais without installing corosync; correct some warnings and error under FreeBSD and Darwin

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

16 years agoRevert config_verifyconf logic that is unnecessary
Fabio M. Di Nitto [Thu, 14 Aug 2008 12:05:39 +0000 (12:05 +0000)]
Revert config_verifyconf logic that is unnecessary

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

16 years agoChange AIS names to corosync
Christine Caulfield [Wed, 13 Aug 2008 10:33:11 +0000 (10:33 +0000)]
Change AIS names to corosync

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

16 years agoAdd support for reload operations within objdb and plugins.
Fabio M. Di Nitto [Wed, 13 Aug 2008 03:58:03 +0000 (03:58 +0000)]
Add support for reload operations within objdb and plugins.

Use a 2 phase "commit" operation:
1) Invoke verifyconfig that should catch the errors before the reload operation
2) Invoke reloadconfig that performs the operation and should _never_ fail

Implementation note: if step 2 fails, there is no fall back at the moment.

Fix the IPC table for confdb:
MESSAGE_REQ_CONFDB_XPATH_EVAL_EXPRESSION = 12 was added to include/ipc_confdb.h
without an associated call. Thanks Chrissie for spotting this.

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

16 years agoAdd some totem process group interfaces to the API.
Steven Dake [Tue, 12 Aug 2008 09:06:46 +0000 (09:06 +0000)]
Add some totem process group interfaces to the API.

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

16 years agoobjdb: change list_add to list_add_tail when adding keys and objects
Fabio M. Di Nitto [Tue, 12 Aug 2008 08:41:09 +0000 (08:41 +0000)]
objdb: change list_add to list_add_tail when adding keys and objects

service: change openais_service_unlink_all to deal with the new objdb order

cleanup a few whitespaces

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

16 years agoAdd module load and unload to the exported coroapi.
Steven Dake [Wed, 6 Aug 2008 15:00:47 +0000 (15:00 +0000)]
Add module load and unload to the exported coroapi.

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

16 years agoAdd callback notification about changes to the object db and confdb apis.
Steven Dake [Tue, 5 Aug 2008 16:34:14 +0000 (16:34 +0000)]
Add callback notification about changes to the object db and confdb apis.

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

16 years agoFix crash in logsys new API
Fabio M. Di Nitto [Tue, 5 Aug 2008 14:53:46 +0000 (14:53 +0000)]
Fix crash in logsys new API

logsys_config_priority_set lacked a check for logsys_single_id that
left logsys_subsys_id uninitialized.

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

16 years agoFix toplevel Makefile install target
Fabio M. Di Nitto [Tue, 5 Aug 2008 14:51:31 +0000 (14:51 +0000)]
Fix toplevel Makefile install target

- objctl is now called corosync-objctl
- keygen has been renamed corosync-keygen
- install corosync-cfgtool as part of the standard tools now

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

16 years agoSplit openais and corosync tree into two seperate repositories.
Steven Dake [Tue, 5 Aug 2008 13:23:46 +0000 (13:23 +0000)]
Split openais and corosync tree into two seperate repositories.

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

16 years agoMake mar_name_t an inline function to remove warnings
Steven Dake [Tue, 5 Aug 2008 05:24:41 +0000 (05:24 +0000)]
Make mar_name_t an inline function to remove warnings

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

16 years agoAllow msg service test applications to build properly.
Steven Dake [Mon, 4 Aug 2008 05:21:52 +0000 (05:21 +0000)]
Allow msg service test applications to build properly.

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

16 years agoFix errors in lib linking.
Steven Dake [Mon, 4 Aug 2008 05:21:28 +0000 (05:21 +0000)]
Fix errors in lib linking.

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

16 years agoAdd a missing confdb_key_delete function to the confdb api.
Steven Dake [Mon, 4 Aug 2008 05:16:52 +0000 (05:16 +0000)]
Add a missing confdb_key_delete function to the confdb api.

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

16 years agoMerge Angus's corosync-objctl tool and move cfgtool to a different directory.
Steven Dake [Mon, 4 Aug 2008 05:15:25 +0000 (05:15 +0000)]
Merge Angus's corosync-objctl tool and move cfgtool to a different directory.

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

16 years agoFix the spelling of 'guarantee' in several places.
Patrick Caulfield [Fri, 1 Aug 2008 07:03:49 +0000 (07:03 +0000)]
Fix the spelling of 'guarantee' in several places.

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

16 years agoFinal fixup to build all things properly.
Steven Dake [Thu, 24 Jul 2008 13:20:09 +0000 (13:20 +0000)]
Final fixup to build all things properly.

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

16 years agoopenais now builds when make install is done from corosync.
Steven Dake [Thu, 24 Jul 2008 13:14:09 +0000 (13:14 +0000)]
openais now builds when make install is done from corosync.

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

16 years agoMerge the object iteration repair patch into corosync so openais services load.
Steven Dake [Thu, 24 Jul 2008 12:58:44 +0000 (12:58 +0000)]
Merge the object iteration repair patch into corosync so openais services load.

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

16 years agoAdd files missing from build but in dev repo.
Steven Dake [Thu, 24 Jul 2008 12:33:09 +0000 (12:33 +0000)]
Add files missing from build but in dev repo.

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

16 years agoBuilding of all service engines now works properly.
Steven Dake [Thu, 24 Jul 2008 12:28:11 +0000 (12:28 +0000)]
Building of all service engines now works properly.
Install works as well.

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

16 years agoImprove runtime loading of parser and move versions files to corosync.
Steven Dake [Thu, 24 Jul 2008 12:26:27 +0000 (12:26 +0000)]
Improve runtime loading of parser and move versions files to corosync.

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

16 years agoAdd MESSAGE_SIZE_MAX to coroapi file.
Steven Dake [Thu, 24 Jul 2008 09:14:46 +0000 (09:14 +0000)]
Add MESSAGE_SIZE_MAX to coroapi file.

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

16 years agoMake external service engines (openais) work properly.
Steven Dake [Thu, 24 Jul 2008 09:12:07 +0000 (09:12 +0000)]
Make external service engines (openais) work properly.
Also fix up make install.

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

16 years agoPatch from Angus to make corosync build for his environment.
Steven Dake [Thu, 24 Jul 2008 04:29:42 +0000 (04:29 +0000)]
Patch from Angus to make corosync build for his environment.

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

16 years agoAdd API definitions file.
Steven Dake [Thu, 24 Jul 2008 02:55:51 +0000 (02:55 +0000)]
Add API definitions file.

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

16 years agoMerge the API definitions of the objdb into the corosync api definition.
Steven Dake [Thu, 24 Jul 2008 01:30:29 +0000 (01:30 +0000)]
Merge the API definitions of the objdb into the corosync api definition.

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

16 years agoThe entire tree builds properly and all services have been ported to the
Steven Dake [Wed, 23 Jul 2008 21:32:13 +0000 (21:32 +0000)]
The entire tree builds properly and all services have been ported to the
new coroapi.h include header.

The services shipped with corosync are CPG, CFG, CONFDB, and EVS.

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

16 years agoMake from top level directory now works.
Steven Dake [Tue, 22 Jul 2008 07:27:39 +0000 (07:27 +0000)]
Make from top level directory now works.

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

16 years agoAPI changes and code to make cfg and cpg service operate properly with corosync.
Steven Dake [Tue, 22 Jul 2008 07:25:27 +0000 (07:25 +0000)]
API changes and code to make cfg and cpg service operate properly with corosync.

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

16 years agoCause libraries to build.
Steven Dake [Mon, 21 Jul 2008 12:40:33 +0000 (12:40 +0000)]
Cause libraries to build.

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

16 years agoSet default services to load.
Steven Dake [Mon, 21 Jul 2008 10:03:58 +0000 (10:03 +0000)]
Set default services to load.

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

16 years agoAdd the default corosync parser.
Steven Dake [Mon, 21 Jul 2008 09:59:56 +0000 (09:59 +0000)]
Add the default corosync parser.

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

16 years agoRename AIS parts to Corosync.
Steven Dake [Mon, 21 Jul 2008 09:30:37 +0000 (09:30 +0000)]
Rename AIS parts to Corosync.

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

16 years agoRename aispoll to coropoll.
Steven Dake [Mon, 21 Jul 2008 09:18:00 +0000 (09:18 +0000)]
Rename aispoll to coropoll.

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

16 years agocorosync/exec builds.
Steven Dake [Mon, 21 Jul 2008 09:05:14 +0000 (09:05 +0000)]
corosync/exec builds.

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

16 years agoRemove depends in Makefile.
Steven Dake [Mon, 21 Jul 2008 08:49:25 +0000 (08:49 +0000)]
Remove depends in Makefile.

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

16 years agoInitial makefile for corosync plugin service engines.
Steven Dake [Mon, 21 Jul 2008 08:38:54 +0000 (08:38 +0000)]
Initial makefile for corosync plugin service engines.

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

16 years agoMove services around to service directory.
Steven Dake [Mon, 21 Jul 2008 08:33:39 +0000 (08:33 +0000)]
Move services around to service directory.

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

16 years agomove README.amf into openais directory.
Steven Dake [Mon, 21 Jul 2008 08:30:35 +0000 (08:30 +0000)]
move README.amf into openais directory.

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

16 years agoRemove unnecesssary files.
Steven Dake [Mon, 21 Jul 2008 08:30:10 +0000 (08:30 +0000)]
Remove unnecesssary files.

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

16 years agoAdd makefile and loc infrastructure to openais directory.
Steven Dake [Mon, 21 Jul 2008 08:29:39 +0000 (08:29 +0000)]
Add makefile and loc infrastructure to openais directory.

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

16 years agoAdd license file to openais tree.
Steven Dake [Mon, 21 Jul 2008 08:23:10 +0000 (08:23 +0000)]
Add license file to openais tree.

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

16 years agoMove mismove to proper location.
Steven Dake [Mon, 21 Jul 2008 08:21:36 +0000 (08:21 +0000)]
Move mismove to proper location.

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

16 years agoMove test, lib, exec, and include files that are openais specific into openais
Steven Dake [Mon, 21 Jul 2008 08:21:13 +0000 (08:21 +0000)]
Move test, lib, exec, and include files that are openais specific into openais
directory.

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

16 years agoPut conf directory in openais directory.
Steven Dake [Mon, 21 Jul 2008 08:05:59 +0000 (08:05 +0000)]
Put conf directory in openais directory.

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

16 years agoMove test directories and remaining loc files to test directory.
Steven Dake [Mon, 21 Jul 2008 08:01:13 +0000 (08:01 +0000)]
Move test directories and remaining loc files to test directory.

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

16 years agoInitial move of corosync and openais trees into seperate directories.
Steven Dake [Mon, 21 Jul 2008 07:59:08 +0000 (07:59 +0000)]
Initial move of corosync and openais trees into seperate directories.

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

16 years agoTest queue group tracking feature.
Steven Dake [Mon, 21 Jul 2008 07:34:50 +0000 (07:34 +0000)]
Test queue group tracking feature.

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

16 years agoAdd ability to track changes to queue groups in the messaqge service.
Steven Dake [Mon, 21 Jul 2008 07:34:08 +0000 (07:34 +0000)]
Add ability to track changes to queue groups in the messaqge service.

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

16 years agoAllow setting of the logsys priority to one lower then was already specified.
Steven Dake [Mon, 14 Jul 2008 11:07:39 +0000 (11:07 +0000)]
Allow setting of the logsys priority to one lower then was already specified.

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

16 years agoRevert incorrect patch.
Steven Dake [Mon, 14 Jul 2008 11:05:13 +0000 (11:05 +0000)]
Revert incorrect patch.

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

16 years agoAllow setting of lower priority which is currently disabled.
Steven Dake [Mon, 14 Jul 2008 10:58:28 +0000 (10:58 +0000)]
Allow setting of lower priority which is currently disabled.

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

16 years agoAllow users of logsys to disable output of logging LOG_LEVEL_DEBUG messages
Steven Dake [Mon, 14 Jul 2008 10:55:28 +0000 (10:55 +0000)]
Allow users of logsys to disable output of logging LOG_LEVEL_DEBUG messages
via log_mode_set.

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

16 years ago * Adds documentation for the LOG_MODE_NOSUBSYS mode flag,
Patrick Caulfield [Fri, 11 Jul 2008 10:35:54 +0000 (10:35 +0000)]
 * Adds documentation for the LOG_MODE_NOSUBSYS mode flag,
 * Adds documentation for the LOG_MODE_SHORT_FILELINE mode flag, and
 * Fixes (typo) 'declartion' -> 'declaration'

-- Lon

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

16 years agoFix error in a previous logsys patch.
Steven Dake [Thu, 10 Jul 2008 23:52:38 +0000 (23:52 +0000)]
Fix error in a previous logsys patch.

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

16 years agoAdd a missing object_find_reset() call.
Patrick Caulfield [Mon, 7 Jul 2008 08:49:21 +0000 (08:49 +0000)]
Add a missing object_find_reset() call.

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

16 years agoAdd init/config entry points for those that dont with to use macros in logsys.
Steven Dake [Wed, 2 Jul 2008 22:58:03 +0000 (22:58 +0000)]
Add init/config entry points for those that dont with to use macros in logsys.

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

16 years agoAdd cpg_groups_get call to libcpg.
Patrick Caulfield [Wed, 2 Jul 2008 07:19:50 +0000 (07:19 +0000)]
Add cpg_groups_get call to libcpg.

This call causes a complete list of active groups and their
membership lists to be sent to a callback function.

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

16 years agoAdd two new modes LOG_MODE_SHORT_FILELINE and LOG_MODE_NOSUBSYS.
Steven Dake [Tue, 1 Jul 2008 22:08:15 +0000 (22:08 +0000)]
Add two new modes LOG_MODE_SHORT_FILELINE and LOG_MODE_NOSUBSYS.
LOG_MODE_SHORT_FILELINE strips the leading path from the file name in
a debug output.  LOG_MODE_NOSUBSYS removes a global variable and provides
the ability to set or unset this via config_mode_set.

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

16 years agothis patch fixes a segfault/crash in confdb_write.
Patrick Caulfield [Tue, 1 Jul 2008 07:23:25 +0000 (07:23 +0000)]
this patch fixes a segfault/crash in confdb_write.

If the operation is succesful there is no need to set error_string. If error_string is not set, don't try to access it or we crash.

At the same time perform the same check in libconfdb when we receive the reply.

Fabio

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

16 years agoAllow syslog priority configurations per subsystem in logsys.
Steven Dake [Tue, 24 Jun 2008 08:43:53 +0000 (08:43 +0000)]
Allow syslog priority configurations per subsystem in logsys.

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

16 years agoRemove warnings of unused variables in main.c
Steven Dake [Tue, 24 Jun 2008 04:54:28 +0000 (04:54 +0000)]
Remove warnings of unused variables in main.c

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

16 years agoAllow make in the exec directory to work even if root/lcr isn't yet built.
Steven Dake [Tue, 24 Jun 2008 04:52:42 +0000 (04:52 +0000)]
Allow make in the exec directory to work even if root/lcr isn't yet built.

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

16 years agoAdd #include assert.h to some AMF files.
Steven Dake [Tue, 24 Jun 2008 04:49:29 +0000 (04:49 +0000)]
Add #include assert.h to some AMF files.

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

16 years agoForward port of the synchronization engine into trunk.
Steven Dake [Tue, 24 Jun 2008 04:46:03 +0000 (04:46 +0000)]
Forward port of the synchronization engine into trunk.

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

16 years agoFix a ton of bugs in totem by forward porting the whitetank totem code into
Steven Dake [Tue, 24 Jun 2008 04:45:38 +0000 (04:45 +0000)]
Fix a ton of bugs in totem by forward porting the whitetank totem code into
trunk.

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

16 years agoRemove totemip.h reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:45 +0000 (04:44 +0000)]
Remove totemip.h reference from file.

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

16 years agoRemove totemip reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:36 +0000 (04:44 +0000)]
Remove totemip reference from file.

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

16 years agoremove totemip.h reference from file.
Steven Dake [Tue, 24 Jun 2008 04:44:21 +0000 (04:44 +0000)]
remove totemip.h reference from file.

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

16 years agoFix unlock_algorithm in lock service.
Steven Dake [Mon, 23 Jun 2008 22:44:06 +0000 (22:44 +0000)]
Fix unlock_algorithm in lock service.

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

16 years agoImprove the async version of locking library patch from Xinwei Hu.
Steven Dake [Mon, 23 Jun 2008 22:42:42 +0000 (22:42 +0000)]
Improve the async version of locking library patch from Xinwei Hu.

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

16 years agoPatch from Xinwei Hu to clean up test locking program.
Steven Dake [Mon, 23 Jun 2008 22:40:44 +0000 (22:40 +0000)]
Patch from Xinwei Hu to clean up test locking program.

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

16 years agoAllow user to retrieve logsys mode.
Steven Dake [Fri, 20 Jun 2008 06:06:56 +0000 (06:06 +0000)]
Allow user to retrieve logsys mode.

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

16 years agoRemove extra unneeded configuration option from logsys.
Steven Dake [Fri, 20 Jun 2008 06:04:03 +0000 (06:04 +0000)]
Remove extra unneeded configuration option from logsys.

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

16 years agoUse logsys_facility_id_get to do the string conversion instead of doing
Steven Dake [Fri, 20 Jun 2008 05:54:11 +0000 (05:54 +0000)]
Use logsys_facility_id_get to do the string conversion instead of doing
it in the openais configuration parser.

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

16 years agoMessage service implemntation - more apis now supported.
Steven Dake [Fri, 13 Jun 2008 18:36:21 +0000 (18:36 +0000)]
Message service implemntation - more apis now supported.

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

16 years agoFix linking of other projects against logsys on ppc64.
Steven Dake [Tue, 20 May 2008 16:26:16 +0000 (16:26 +0000)]
Fix linking of other projects against logsys on ppc64.

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

16 years agoRemove exit when logsys files can't be created.
Steven Dake [Tue, 20 May 2008 16:18:28 +0000 (16:18 +0000)]
Remove exit when logsys files can't be created.

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