Commit Graph

955 Commits

Author SHA1 Message Date
Steven Dake
3c7f8b7c05 This patch reworks IPC to use threads instead of the main poll loop
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1011 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 01:39:10 +00:00
Steven Dake
38151d8e0c Fix segfault because list was not reinitialized after its entry was deleted
and it would later be deleted by closing the ipc.
the 


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1010 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-26 22:24:30 +00:00
Hans Feldt
947995bd80 test commit, one line amf.c change in clc_cli_cleanup
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1009 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-26 09:00:41 +00:00
Fabien Thomas
f9ce4bea58 Remove warnings under Darwin
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1008 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:28:20 +00:00
Steven Dake
61922deab5 Fix scanning of LCRSOs not working on various systems
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1007 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:11:25 +00:00
Steven Dake
8f281418a9 Patch to ensure backlogs are never negative which would cause problems with
the flow control algorithm and protocol in general.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1006 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:04:09 +00:00
Steven Dake
e5aa601df1 Allow running with BUILD_DYNAMIC set to zero.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1005 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:03:09 +00:00
Steven Dake
6a7bfa5caf Patch from Hans to clean up some error handling in main.c when service handlers
do the wrong thing.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1002 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 19:05:59 +00:00
Steven Dake
81658a8158 Patch from Hans to clean up main error handling a little bit
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1001 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 19:00:26 +00:00
Steven Dake
4c75519ea3 Clean out private key memory area in case of parser override is used
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1000 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 18:58:36 +00:00
Steven Dake
721c9459ab Patch from Hans to fix segfault in loading of LCR components
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@999 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 18:56:02 +00:00
Steven Dake
ced99237d9 More make install work to install all necessary files
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@998 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-20 23:17:16 +00:00
Mark Haverkamp
ca640fa486 Updated copyright dates.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@997 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-20 17:14:38 +00:00
Steven Dake
3bab5bffb4 Make install now works along with different search paths for openais's
lcrsos.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@996 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-19 20:39:25 +00:00
Steven Dake
f50a6a11c8 Patch from Hans to significantly improve the logging functionality
read openais.conf.5 for info on how the new logging works.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@995 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-18 19:53:18 +00:00
Steven Dake
94e827e318 Remove segfault when object database can't be loaded
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@994 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-16 02:05:27 +00:00
Steven Dake
b394a79248 Remove segfaults when object database can't be loaded for some reason.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@993 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-16 02:03:45 +00:00
Steven Dake
5fdbfe5934 remove -DDEBUG from release build
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@992 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:28:28 +00:00
Steven Dake
ca04a99884 defect 1201
cleanup poll_dispatch_delete in trunk


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@991 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:27:48 +00:00
Steven Dake
990d0af0ce remove warnings form totemrrp and also fix bug where send_flush wasn't
being called for the active replication algorithm


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@990 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 08:04:21 +00:00
Steven Dake
613cc0ec9d remove printf on evs join because groups may be binary data and crash executive
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@989 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:52:28 +00:00
Steven Dake
6066442cd8 Fix warning about unsigned int passed to orf_token_rtr for flow control count
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@988 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:42:30 +00:00
Steven Dake
6366d52c82 Fix warning regarding unsigned int for node_id
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@987 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:41:45 +00:00
Steven Dake
6199aaa3bd Fix object_priv_get to actually call object_priv_get instead of object_priv_set
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@986 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:38:25 +00:00
Steven Dake
ef259f5a5d cleanup warning in service.c because unsigned char * is passed to atoi instead
of char *


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@985 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:29:57 +00:00
Steven Dake
4ae4efb43a Add missing vsf.h from previous commit
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@984 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-15 07:28:11 +00:00
Steven Dake
758719ea87 fix fc5 segfault correctly by removing code that violates strict aliasing
rules.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@983 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 23:20:03 +00:00
Steven Dake
dd18b864d8 scale part 3
componentize YKD dynamic linear voting algorithm


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@982 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 23:11:07 +00:00
Steven Dake
95956d7beb Improvement of the rrp_algo data structure to support only running totemnet
api calls on the appropriate totemnet interfaces.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@981 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 05:39:51 +00:00
Steven Dake
fc6d32494a Workaround possible optimizer bug in gcc 4.1 by forcing a function not to
inline.  This would cause segfaults on fc4.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@980 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 02:51:39 +00:00
Steven Dake
701b56e551 move nodeid from interface section to totem section
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@979 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 02:50:51 +00:00
Patrick Caulfield
d8fc111119 - Fix BUILD_DYNAMIC=0 (add amfconfig.o to SERV_OBJS)
- add objdb->object_find_reset() before looking for user/group names.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@978 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-10 09:40:30 +00:00
Patrick Caulfield
64a83a764f Split the logging config options into three keys: to_file, to_stderr & to_syslog
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@977 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-10 08:24:34 +00:00
Steven Dake
bf65af760d defect 1191
Add more support for the redundant ring protocol.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@976 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-08 23:14:52 +00:00
Steven Dake
e1cad44148 defect 1190
scale to 128 nodes more effectively by dynamically sending partial structures
in the commit token ahd memb_join messages.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@975 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-08 22:25:14 +00:00
Steven Dake
6a49f1befc defect 1139
reorg of code to better support creating external service handlers


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@972 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-08 22:05:51 +00:00
Steven Dake
fd9d3f0a76 defect 1170
another fix for the assertion in memb_recovery_enter


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@971 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-08 22:05:00 +00:00
Patrick Caulfield
f870208608 Use the tmp variable in the right iterator loop !
With debug enabled, that's a guaranteed crash in cpg when a node leaves.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@970 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-07 15:05:24 +00:00
Patrick Caulfield
3568f26625 Use objdb for configuration. All components now get a reference to
the objdb rather than openais_config.

The default config object "aisparser" reads openais.conf as before, but can
be overridden by an environment variable.

Bug 1132



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@969 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-06 10:31:28 +00:00
Steven Dake
c5dbe6ea7b defect 1170
remove extra debug exit(1


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@968 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-06 07:37:08 +00:00
Steven Dake
29c19bf56e defect 1170
Fix recovery protocol to avoid assertion in memb_state_recovery_enter


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@967 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-06 07:32:21 +00:00
Steven Dake
74952a56a3 defect 205
implement totem single ring protocol flow control algorithm


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@966 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-03 22:45:13 +00:00
Patrick Caulfield
0fcbd1e12c Set the object value length too.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@965 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-03 08:47:42 +00:00
Steven Dake
0865007a34 Fix typo is clc_cli_script
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@963 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-31 20:10:33 +00:00
Steven Dake
b8589392f1 defect 1172
checkpoint service asserts under load during configuration changes


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@962 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-31 19:55:52 +00:00
Fabien Thomas
c15234bfea defect 1178: use synchronous lock structure on reply
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@961 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-31 08:14:55 +00:00
Steven Dake
f52c38ffac defect 1153
Fix segfault with sync service if syncronization is interrupted during recovery.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@960 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-29 19:02:42 +00:00
Muni Bajpai
728b79d7d4 defect 1192
Fixes the issue of ckpt sections getting reordered and also fixes the issue of synchronizing ckpt while under the retention timer.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@959 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-28 21:49:49 +00:00
Patrick Caulfield
472e59e30a Call a service's config_init_fn() as soon as it is loaded.
Then call exec_init_fn() after other initialisation has happened.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@958 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-28 12:32:45 +00:00
Steven Dake
1363452887 patch from Hans to support amf B types
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@957 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-27 17:37:21 +00:00