Steven Dake
b0c735ee64
Fix off by one error in totemsrp.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1070 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-19 22:59:32 +00:00
Steven Dake
d193826724
Allow CFLAGS and LDFLAGS to be overridden through the environment or command
...
line.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1065 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-16 19:07:28 +00:00
Steven Dake
252fc54461
Remove warning about memb_set_print not being used. This is only useful for
...
debugging.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1046 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 04:19:40 +00:00
Patrick Caulfield
48ebfdc432
Add missing endian conversion to memb_merge_detect
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1039 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-25 07:33:12 +00:00
Steven Dake
4da5612bd3
Endian fixes for the recent redundant ring protocol work plus the cluster
...
membership API support.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1033 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 20:31:35 +00:00
Steven Dake
483a9baac7
The redundant ring take 4 patch. This includes modes for active, passive,
...
and none. Read openais.conf.5 for information regarding how to configure
redundant ring.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1032 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 19:49:40 +00:00
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
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
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
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
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
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
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
Fabien Thomas
064ffb17a1
Bug 1130: add totempg log; remove warnings; add DPRINT macro
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@954 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-24 08:28:12 +00:00
Steven Dake
f99f38363f
defect 1117
...
binding to localhost doesn't work. This patch reenables that functionality.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@947 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:16:28 +00:00
Steven Dake
cf160dd9cd
Fabien's patch for the BSD/Darwin port.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@926 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-21 07:32:00 +00:00
Steven Dake
d248cfb8ae
defect 981
...
big endian and little endian in the same network causes infinite loop. This
patch fixes that problem for the totem layer only. Other components are not
resolved.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@922 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-11 22:25:54 +00:00
Steven Dake
f6cfe4e86e
This is a major rework of the service handling code. Now service handlers
...
can be dynamically loaded via the live component replacement service. Sync
handlers are also dynamically contributed.
It is possible to build using either dynamic loading via LCR or static
linking of the entire executive. This is controlled by the BUILD_DYNAMIC
configuration option in the Makefile.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@892 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-20 20:40:21 +00:00
Steven Dake
a4538aee95
defect 1024
...
YKD algorithm doesn't always work when new_message_queue is full.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@885 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-07 00:26:16 +00:00
Steven Dake
e4dfef72d5
defect 979
...
This enhancement adds support for IPV6 to the trunk of openais.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@856 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-30 19:44:40 +00:00
Steven Dake
ecb97392f8
defect 932
...
This patch adds token sequence number and global sequence number rollover
support. A window is used to ensure comparisons are done properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@852 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-25 22:01:00 +00:00
Steven Dake
440f587eb8
defect 969
...
processor_count_set is called in the wrong place causing the protocol to
fail to receive.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@848 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-23 22:25:04 +00:00
Steven Dake
067c60c866
defect 968
...
Improve worst-case failure detection time using active healthchecking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@836 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-11-18 21:29:11 +00:00
Steven Dake
dfa61b911d
defect 914
...
fix gcc 4 specific compile warnings and compile errors
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@834 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-10-27 00:53:36 +00:00
Steven Dake
81b2984094
defect 837
...
Muni reported the token retransmission timer doesn't need to be reset when
receiving a retransmission
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@805 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-25 22:10:26 +00:00
Steven Dake
5613db03a1
enhancmement 821
...
Global reorganization of totem code and also many feature enhancments
These include:
need to specify whether authentication is enabled or dislabed in config file
need to specify frame size in config file
need redundant ring placeholder
need to specify version field of totem
need to support large frame sizes
need to break out threading code from totemsrp
need to break out network code from totemsrp
need to break out parser code from parse.c
and some others
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@794 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:17:45 +00:00
Steven Dake
4ff4c440ca
Patch from Russell Bryant to fix up gcc 4 warnings
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@793 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-12 22:29:35 +00:00
Steven Dake
ece2c68fe1
fixes segfault when ctrl-c pressed with new totemmrp code
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@789 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 22:19:50 +00:00
Steven Dake
283790b715
Add infrastructure support for multiring to totem library
...
Make totemsrp support multiple instances of a running protocol within one app.
Rename libtotem to libtotem_pg because of a name conflict with some movie player
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@782 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 20:55:25 +00:00
Steven Dake
2e4b10583d
defect 502
...
fix assert when packet added in multicast message handler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@725 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 20:29:33 +00:00
Steven Dake
68ae4e8b3c
defect 669
...
token retransmits dont work under heavy load.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@721 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:34:08 +00:00
Steven Dake
f047d8f44f
defect 577
...
Implement token holding mode
(Logical change 1.207)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@670 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:36:36 +00:00
Mark Haverkamp
632a94dd7d
Allow services to use the openais.conf file for setting custom options.
...
(Logical change 1.195)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Mark Haverkamp
4c203d518d
Add support for user specified timeouts from openais.conf
...
(Logical change 1.191)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@628 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-04 17:08:55 +00:00
Steven Dake
f127cb9714
defect 529
...
dont ignore commit token which was causing strange semantics.
(Logical change 1.190)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@627 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-29 21:10:39 +00:00
Steven Dake
23ea3ea3b3
defect 498 - reduce network traffic from merge detection
...
(Logical change 1.188)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@622 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-22 18:44:20 +00:00
Steven Dake
444d87049e
Fix assert when recovery fails and messages are accepted in the gather state.
...
(Logical change 1.182)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@610 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-18 19:53:25 +00:00
Steven Dake
0bf800e0db
Fixes a condition which would result in a proc set and failed set
...
being equal which would force the algorithm to never reach
consensus in the membership algorithm.
(Logical change 1.181)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@608 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:30:39 +00:00
Steven Dake
8368fa8387
turn off random dropping of packets by default.
...
2005/04/15 16:27:14-07:00 mvista.com!sdake
Major fixes to the recovery phase of the totem protocol. The
remainder of the protocol remains unchanged.
The protocol now properly adds the right messages to the right
queues during recovery. The protocol properly handles failures
in the recovery state.
(Logical change 1.180)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@605 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 23:29:31 +00:00
Steven Dake
c3e125b165
defect 478 - remove extra parameter to config change.
...
(Logical change 1.174)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
ee38b3da97
Patch from Miyotaka Sakai to fix access to free area defect 426.
...
(Logical change 1.168)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@575 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-05 01:51:09 +00:00
Steven Dake
2f594f9a28
add ifup/ifdown binding to totem single ring protocol
...
(Logical change 1.167)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@571 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
688323e33d
Remove extra debug printf.
...
(Logical change 1.162)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@559 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
29585e709f
The totem protocol would not previously merge a configuration
...
until a multicast message was sent. This change sends a special
"merge detect" message if no message has been multicast in some
time from the representative. This merge detect message will
trigger other processors to enter the gather state and form
a new configuration if they were not previously part of the
current configuration.
(Logical change 1.161)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@556 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
20f0520e8d
cleanup some shared datatypes.
...
(Logical change 1.150)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@532 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
3e6bf37300
Allow totemsrp to remove the reference information for a token callback.
...
(Logical change 1.148)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@523 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
4fc3c8e21f
Synchronization base code added.
...
(Logical change 1.142)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@508 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00