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