Steven Dake
6d4bd5b8ff
Remove random dropping of packets in released version.
...
(Logical change 1.118)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@421 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 21:28:45 +00:00
Steven Dake
154abaa2b8
Delete: exec/gmi.c
...
}(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@416 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
39409fcb01
update to new crypto code
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@414 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
ccefb26ff7
update to new crypto code.
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@413 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
940a8d7292
(Logical change 1.117)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@412 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
a4bf2f872d
update to new totem code.
...
(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@410 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
bcb248163b
Delete: exec/gmi.h
...
}(Logical change 1.117)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@409 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:47 +00:00
Steven Dake
31f5ab43ef
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@408 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-22 20:55:46 +00:00
Miyotaka Sakai
a726f69fb0
For Protection Group Tracking Bug
...
(Logical change 1.114)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@402 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-10 15:28:00 +00:00
Steven Dake
58a8fa85fb
Fix required for previous tlist.c commit.
...
(Logical change 1.113)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@400 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-08 17:53:32 +00:00
Steven Dake
2065cc1706
Fix use of memory area after free when timer_fn deletes a timer.
...
The 3 cases are:
1. timer_fn deletes its own timer
2. timer_fn deletes next timer after its own timer
3. timer_fn deletes any other timer
(Logical change 1.112)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@398 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-08 09:16:42 +00:00
Steven Dake
b3737d2eb4
correct stack corruption when logging data.
...
(Logical change 1.107)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@388 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 23:28:48 +00:00
Steven Dake
454a5af4e8
remove extra printf from gmi.
...
(Logical change 1.107)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@387 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 23:28:48 +00:00
Steven Dake
6250b3fba5
Fix compile with gcc 2.95.
...
(Logical change 1.106)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@385 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-24 22:32:21 +00:00
Steven Dake
ec2ff56744
Kristen Smith reported a bug where evs would return 0.0.0.0 in the
...
source address. This patch fixes that defect 182.
(Logical change 1.105)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@382 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-12 19:17:34 +00:00
somacoma
5146c0c1cf
Fix type-punning warnings with gcc-3.3 and later.
...
(Logical change 1.104)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@380 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-07 23:33:57 +00:00
Steven Dake
24577db3a1
Commit timeout wasn't stopped when entering gather state. This patch stops
...
the commit timeout when the gather state is entered.
(Logical change 1.103)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@379 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-06 17:42:26 +00:00
Miyotaka Sakai
09f9e43fcf
match function name to coding style
...
(Logical change 1.102)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@376 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-05 16:29:29 +00:00
Miyotaka Sakai
a106e2693f
append keygen.o to clean target
...
(Logical change 1.102)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@375 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-05 16:29:29 +00:00
Miyotaka Sakai
9781fe3332
implement gmi_token_callback in amf.c
...
(Logical change 1.101)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@374 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-04 22:37:03 +00:00
Miyotaka Sakai
305ebfcf43
fix wrong HaStat after node join
...
(Logical change 1.100)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@370 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-11-02 21:02:49 +00:00
Steven Dake
d5d47a4e11
Add rlimit code to allow openais to work with linux kernel 2.6.9 or later
...
(Logical change 1.99)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@368 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-30 00:07:11 +00:00
Steven Dake
c9e60d3573
Remove specific o files instead of all objects.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@365 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
e2c260f251
Type checking changes for printf's
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@364 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
0c666cff56
Fix off by one which could cause invalid handle to be used.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@362 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
ea09155b39
remove type-punned pointer warning
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@358 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
e443ea67c2
Fix crash in parser.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@357 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Mark Haverkamp
882e10e411
1. manage the base event ID a little better.
...
2. I also added some private log levels to allow me to selectively turn
on debug output in some sections of the code without turning on
everything.
3. Remove (EVT) from all the printf calls.
(Logical change 1.97)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@354 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-22 21:16:53 +00:00
Steven Dake
3f4c9f5588
Change logging to include service and description.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@353 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
dcc8ea3119
Change loggint o include service and description.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@352 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
0d90b61b8d
Add log print service.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@351 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
58a1955fbd
Delete: exec/log/print.c
...
}(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@350 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
0e0e2f2c9e
Add log service level.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@349 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
e794e35ae5
Change parser to read new configuration file format.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@345 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
f7036e88ac
Delete: exec/log/print.h
...
}(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@343 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Steven Dake
d7b4430e70
Some changes for log services.
...
(Logical change 1.96)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@342 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-18 18:41:10 +00:00
Mark Haverkamp
486ecf2099
Fix some problems in the open channel recovery code that could cause
...
remaining nodes to have an incorrect count when a node left the
membership.
(Logical change 1.95)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@339 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-15 14:35:37 +00:00
Mark Haverkamp
0527f7a66b
Auto merged
...
2004/10/12 14:57:45-07:00 osdl.net!markh
This takes care of tracking open channels through configuration
changes. The channel structures and data are maintained until the last
instance is closed and there are no unexpired retained events. Then the
data is freed up.
(Logical change 1.93)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@333 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-12 21:59:46 +00:00
Miyotaka Sakai
3a05293f91
exec_dump_fn support as SIGUSR2 handler to easy to debug
...
(Logical change 1.91)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@327 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-11 07:50:26 +00:00
Steven Dake
018d786945
Auto merged
...
2004/10/04 16:08:46-07:00 mvista.com!sdake
Remove unneeded debug printf
(Logical change 1.90)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@326 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-05 20:20:12 +00:00
Miyotaka Sakai
31b9847790
add Amfcomponent state dump mechanism
...
(Logical change 1.89)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@321 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-05 16:01:06 +00:00
Steven Dake
6b42f21c83
Fix a bunch of errors in node get and async node get.
...
(Logical change 1.87)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@317 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-02 01:23:54 +00:00
Mark Haverkamp
6c9bc30151
Auto merged
...
2004/09/28 11:29:35-07:00 mvista.com!sdake
Configuration change support from Miyotaka Sakai.
(Logical change 1.85)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@312 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 19:28:57 +00:00
Mark Haverkamp
520cb0585d
Auto merged
...
2004/09/28 11:29:17-07:00 mvista.com!sdake
Configuration change support from Miyotaka Sakai.
(Logical change 1.85)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@310 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 19:28:57 +00:00
Mark Haverkamp
a823dba831
Moved the SaNameTisNNameT function to util.c and called it name_match.
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@309 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
2f5f081798
Replace SaNameTisNameT with name_match from util.[ch]
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@308 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
c87e9631fe
evt code updated to handle cluster config changes better. Now,
...
when a node joins, it is sent any retained events that have time
left on them. Also, if the joining node had been a part of the cluster
in the past, it is sent the next event ID that it should use so as to
not generate duplicate event IDs. Channel open requests are now
completed in the exec handler, with channel close code to follow later.
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@307 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
c572772487
(Logical change 1.84)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@304 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
b88cb68ddf
Added util.[ch] for time and SaNameT match functions. Also updated
...
dependencies.
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@302 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
070a8295c1
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@299 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:13 +00:00
Steven Dake
6256363476
Add token callback for recovery routines.
...
(Logical change 1.83)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@298 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:14:38 +00:00
Steven Dake
24a32a21a4
Add token callback functions to header.
...
(Logical change 1.83)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@296 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:14:38 +00:00
Mark Haverkamp
0f50a877d5
Check to see that the message can be sent before proceeding.
...
(Logical change 1.82)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@295 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-24 19:44:28 +00:00
Mark Haverkamp
b9950ca373
add assert around clmNodeJoinSend since the call to
...
gmi_mcast can return a failure now.
(Logical change 1.82)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@294 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-24 19:44:28 +00:00
Mark Haverkamp
46d6f3ff47
add assert around gmi_mcast since it can return a failure now.
...
(Logical change 1.82)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@292 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-24 19:44:28 +00:00
Steven Dake
00b8d9a1cf
Allow getSaNameT to be compiled in for application reporting.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@289 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
d73d78e8fa
Finalize expiration of sections and checkpoints.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@286 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
f0d161bbe0
Fix build error with -DDEBUG set.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@284 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
7492a942fe
Store handle address in timer structure. When timer expires, wipe
...
out the handle address's value, since the timer is no longer valid.
This allows double frees, or frees on handles that haven't been
added.
One note of caution: a handle cannot be moved into another variable
and be expected to work properly for double frees.
(Logical change 1.79)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@280 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 01:27:22 +00:00
Steven Dake
5ea980e5d0
Change define for timer handle.
...
(Logical change 1.79)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@279 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 01:27:22 +00:00
Steven Dake
c8fa82b571
Change interface to allow storing of handle address in timer structure.
...
(Logical change 1.79)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@277 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 01:27:22 +00:00
Steven Dake
4d7e780487
Add retainined events while also cleaning up memory leakage that occurs
...
because of a lack of retained events.
(Logical change 1.77)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@274 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-21 01:00:16 +00:00
Steven Dake
2644c4dd44
Add retained events timer to checkpoint structure.
...
(Logical change 1.77)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@272 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-21 01:00:16 +00:00
Steven Dake
18f5836ae2
Get rid of valgrind warning and possible segfault.
...
(Logical change 1.76)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@271 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-21 00:57:00 +00:00
Steven Dake
cee884d279
Missed merge of these two files from last changeset.
...
(Logical change 1.75)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@269 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-20 22:18:37 +00:00
Steven Dake
8c9e41b695
Add recovery plug support to evs.
...
l
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@267 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
397b4ce25a
Add recovery plug support to amf.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@266 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
a743bfce9b
Add recovery plug support to clm.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@264 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
7239bf25ad
Add recovery plug support to group messaging.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@263 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
67d57f3da9
Add recovery plug support to evt.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@262 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
4c7f94b70b
Add recovery plug support.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@261 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
818072aa9c
Add recovery plug support to ckpt.
...
(Logical change 1.74)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@259 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-18 07:03:51 +00:00
Steven Dake
2f9b479200
Bug 44.
...
Fixes assertion in executive when running ckptbenchth.
(Logical change 1.73)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@257 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-16 00:20:18 +00:00
Steven Dake
00a710c4e2
Call poll_destroy when executing ais_done. This increases code
...
coverage from 66.9% to 82.3%.
(Logical change 1.72)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@255 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-15 20:54:42 +00:00
Steven Dake
bda91bf27f
Increase code coverage from 19.4% to 100% by adding defines
...
to remove debug print code in production builds. Also removed
function by ifdef that is never used in the project.
(Logical change 1.71)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@254 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-15 20:37:39 +00:00
Steven Dake
75ddec4b0f
Increased code coverage of tlist.c from 74.5% to 95.9%.
...
(Logical change 1.70)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@252 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-15 20:30:02 +00:00
Steven Dake
20d27992a9
Remove unused code.
...
(Logical change 1.69)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@250 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-15 20:20:07 +00:00
Steven Dake
2f97d91083
Remove unused code and change some error detection to assertions.
...
This increases code covergae from 80.2% to 92.7% with no change
in functionality.
(Logical change 1.69)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@248 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-15 20:20:07 +00:00
Steven Dake
75268b5e32
BUG 37. Fix several leaks during configuration changes. Also fixes
...
a possible assert with many large messages being sent from multiple
processors at the same time.
(Logical change 1.68)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@247 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-10 01:04:29 +00:00
Steven Dake
0097a3d7d1
Add code coverage build options and make clean target
...
(Logical change 1.67)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@243 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-08 08:11:56 +00:00
Steven Dake
246687d689
Get rid of magic number 1500 and replace with PACKET_SIZE_MAX.
...
Also fix a glaring memory overwrite bug in gmi_init which would
init 256k of memory instead of PACKET_SIZE_MAX memory.
(Logical change 1.66)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@242 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-08 03:25:56 +00:00
Steven Dake
cc9f12bbd0
State change from standby-active to outofservice could
...
result in invalid number of active units. Found and fixed by
Sakai Miyotaka.
(Logical change 1.65)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@236 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-07 15:18:12 +00:00
Mark Haverkamp
c38ad9061f
Clean up some comments code. (comments, old macro).
...
(Logical change 1.64)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@234 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-07 15:14:59 +00:00
Mark Haverkamp
e0a5ab3fed
Added special SA_CLM_LOCAL_NODE_ID case to receive your own
...
cluster node data.
(Logical change 1.63)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@230 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-02 17:16:25 +00:00
Mark Haverkamp
acba87e179
Completed most of the event service functionality.
...
(Logical change 1.63)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@223 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-02 17:16:25 +00:00
Steven Dake
f6b2a745a3
Added the EVS service and changed the library queue
...
to 256 entries.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@220 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Steven Dake
3ce7b69581
Added the evs target.
...
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@217 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Steven Dake
50a4099c23
major rewrite of the IPC code for sending messages
...
to the library. What was there previously was very
broken.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@214 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Steven Dake
099ebf3273
(Logical change 1.62)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@212 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Steven Dake
07dd45a275
Fix bug where transition from multiple members to
...
single members would cause messages not to be sent.
Also fixed an assertion in transition from multiple
processors to one processor.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@211 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Steven Dake
b46d9a2ddf
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@210 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:43 +00:00
Steven Dake
287a5c5359
Flush all multicast messages by delivering them before
...
processing the token. This ensures that the mcast fd
doesn't buffer too many old messages and avoids an assert.
(Logical change 1.61)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@208 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-28 00:37:34 +00:00
Steven Dake
aeb30a0848
Add initial support for multipathing to group messaging.
...
(Logical change 1.60)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@207 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
b09ed9faf0
Change gmi interface to support multipathing.
...
(Logical change 1.60)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@206 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
32005b93cd
Change network configuration parser interface to support
...
multipathing.
(Logical change 1.60)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@205 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
d4fef2d5b2
Change network configuration parser to read multiple interfaces.
...
(Logical change 1.60)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@203 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-24 01:21:33 +00:00
Steven Dake
e325206977
Clean up usage of ais_done. This includes passing a
...
value for each done type. Also, libais_disconnect cleaned up
so it doesn't ais_done when its queues are full. Instead it
disconnects the library connection. A new connection state
variable added to the conn_info structure in place of active.
(Logical change 1.58)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@200 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
c4523cbe19
Changed number of queueable messages to the library from 8192
...
to 128 messages.
(Logical change 1.58)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@199 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
f6c49d8d06
Use new connection enumeration with AMF code.
...
(Logical change 1.58)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@198 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 05:24:21 +00:00
Steven Dake
f2407f15c6
Cleanup errors in Makefile.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@191 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
f6e476463b
Change interface so there is a new libais_handler structure.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@190 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
5e55537d8f
Add support for flow control to amf library.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@189 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
2a263fdd00
Add support to group messaging to get flow control information.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@188 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
1066805247
Flow control changes.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@186 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
e5fe15c3e6
Add support to group messaging for another priority level.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@183 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
11b4f97488
Add support to eventing for flow control.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@180 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
69fd2d8dcd
Add support to disconnect and dispatch to utilize flow control.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@179 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
52a1621c74
Add support for flow control to ckpt library.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@177 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
907f902ba7
Add support to clm for flow control.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@173 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
9a1d1c0ec2
Add priority to poll abstraction
...
Higher priority items will be serviced first
(Logical change 1.54)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@172 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
d99bf64410
Make gmi highest priority when adding dispatch functions
...
(Logical change 1.54)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@170 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
a5a3968cbc
Add library accept handler at lowest priority
...
(Logical change 1.54)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@169 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-14 09:25:33 +00:00
Steven Dake
ce76ee2d53
When 2 processors are part of the configuration, then one
...
of the members leaves, then a new configuration occurs
with 2 or more members, the "joined" list was not
being properly passed to the rest of the executive
services. This bug fixed.
(Logical change 1.53)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@167 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-10 04:47:05 +00:00
Steven Dake
88e8d9a370
Add encryption and authentication to GMI.
...
(Logical change 1.52)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@166 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
d379732558
Add ability to pass key and keylen to gmi_init.
...
Add ability to set security logging value.
(Logical change 1.52)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@163 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
e9f8672337
Add crytpo features to makefile
...
(Logical change 1.52)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@161 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
57969a835f
(Logical change 1.52)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@160 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
b04d69d381
(Logical change 1.51)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@157 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:42 +00:00
Steven Dake
0c282269e0
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@156 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:41 +00:00
Steven Dake
97649da204
(Logical change 1.47)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@147 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Steven Dake
0385d9ba49
Add function in exec/clm to get the full cluster node information
...
for any node in the cluster membership
(Logical change 1.47)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@146 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Mark Haverkamp
b04e9c5d16
Added event code and dependencies.
...
(Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@144 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
3cdfc4a3ec
added event service handler.
...
(Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@139 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
7f9da22767
added event service.
...
(Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@138 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
cba04f10c5
(Logical change 1.46)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@135 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
9dc4b066ad
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@134 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:42 +00:00
Steven Dake
9783e8d172
Add source_addr to exec message handler for event service.
...
(Logical change 1.45)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@131 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
71bf042ce9
Major cleanup and use hdb.c abstracted out functions
...
now instead of internal hacked together stuff that was
there previously.
(Logical change 1.44)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@130 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
105dfeb76e
Major cleanup to use hdb.c handle database functions.
...
(Logical change 1.44)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@128 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
3d098438ec
Add hdb.c to the build.
...
(Logical change 1.44)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@127 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
f6c12e54d9
(Logical change 1.44)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@126 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
13180ca19b
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@125 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:46 +00:00
Steven Dake
f446ed6a5b
Remove BINDTODEVICE socket option and replace with MULTICAST_IF
...
to be more portable and require less root privs.
(Logical change 1.42)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@121 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-26 22:17:36 +00:00
Steven Dake
7298c7d9c0
Major improvements to fragmentation. It works alot better now.
...
(Logical change 1.39)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@114 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-15 00:03:02 +00:00
Steven Dake
69c97fb5ff
Allow NULL delivery_fn in gmi_join. This basically has no
...
effect but allows the processor to participate in multicasting
and membership.
(Logical change 1.38)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@112 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:20:56 +00:00
Steven Dake
7f49b68e27
Extraneous tokens were not being rejected on token retransmits
...
that occurred during configuration changes. The result was bad
behavior, especially with larger rings. Also cleaned up the
token retransmit timer to be deleted if necessary.
(Logical change 1.37)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@110 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:19:43 +00:00
Steven Dake
dc3e957f9b
Add ip to deliver_fn callback
...
(Logical change 1.36)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@108 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:51:52 +00:00
Steven Dake
7e0c9753ea
Add ip to deliver_fn callback
...
Add ip to deliver_fn callback
Add ip to deliver_fn callback
(Logical change 1.36)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@106 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:51:52 +00:00
Steven Dake
6e980d7b47
Removed something that was necessary in last changeset.
...
(Logical change 1.35)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@105 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 03:48:48 +00:00
Steven Dake
33a8e4f137
Fix debug exit.
...
(Logical change 1.34)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@102 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 21:46:02 +00:00
Steven Dake
263b91f277
Auto merged
...
2004/07/12 14:37:13-07:00 mvista.com!sdake
When a processor left the membership, the next configuration would sometimes
cause a form token timeout. While not particularly harmful, it was wasteful
and not part of the original design of the group messaging protocol.
There was some extra junk code that was added to workaround some other bug
that has since been fixed.
This junk code removed and now the form token never times out (woohoo).
Also removed some extra code that calculates the next ORF processor twice.
We only really need to do it once.
(Logical change 1.33)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@100 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 21:40:31 +00:00
Steven Dake
d886159e29
Add retransmit of token if no multicast or token received
...
within a timeout period (100 msec). This helps avoid
a reconfiguration when only the token is lost, but no
real configuration changes have occured.
(Logical change 1.32)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@98 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-12 04:16:02 +00:00
Steven Dake
447bfc6813
Clean up warnings found with -pedantic.
...
(Logical change 1.30)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-11 07:22:12 +00:00
Steven Dake
d33384faea
Fixes build problem with rename of aispoll.c.
...
(Logical change 1.29)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@91 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-10 03:57:32 +00:00
Steven Dake
a16954f562
Removes this_ip external dependency and instead copies the
...
bound to address to storage local to the group messaging
interface.
(Logical change 1.29)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@90 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-10 03:57:32 +00:00
Steven Dake
cc11e4db80
Rename: exec/poll.h -> exec/aispoll.h
...
}(Logical change 1.28)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@89 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
844937b6cd
Rename: exec/poll.h -> exec/aispoll.h
...
(Logical change 1.28)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@87 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
fc3435c50d
Rename: exec/poll.c -> exec/aispoll.c
...
(Logical change 1.28)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@86 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
9524f13926
Rename: exec/poll.c -> exec/aispoll.c
...
}(Logical change 1.28)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@85 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00
Steven Dake
295d70a3c8
Rename poll.h to aispoll.h
...
(Logical change 1.28)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@84 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-09 21:35:41 +00:00