Steven Dake
22e000e5bc
testclm.c:
...
Increase code coverage of clm code.
clm.c, ais_msg.h:
Fix a bunch of errors in node get and async node get.
BKrev: 415e032aF1mVsl5HqRqEZTGL5S90VA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@315 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-02 01:23:54 +00:00
Miyotaka Sakai
33e5ad01bb
get rid of compile warning
...
(Logical change 1.86)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@314 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-29 01:22:03 +00:00
Miyotaka Sakai
d4f5bb3f7a
testckpt.c:
...
get rid of compile warning
BKrev: 415a0e3b7pcmfNPh8_SQDhuaxhArpQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@313 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-29 01:22:03 +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
b95e79edbc
Merge markh@bk.osdl.org:/var/bk/openais
...
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_event
2004/09/28 11:29:45-07:00 mvista.com!sdake
parse.h, amf.c:
Configuration change support from Miyotaka Sakai.
BKrev: 4159bb79gTMIV1ezWSXqMb61zwoXkg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@311 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
4677666ccb
Mostly event service updates to handle recovery after a
...
configuration change. (Selecting next event ID and sending retained
events to the joiner).
BKrev: 4159ad7atHUdo0CF1QjlYHOM-fjAvQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@306 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
2d0b3519c7
testparse.c needs util.o now.
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@305 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
f2671ba36b
Remove some old TODO comments.
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@303 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
c4252460d2
Updates for evt to handle recovery after a config change.
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@301 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-28 18:29:14 +00:00
Mark Haverkamp
0d3aafd32f
added a semi-quiet mode.
...
(Logical change 1.84)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@300 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
fe9118557c
Add token callback for recovery.
...
gmi.h:
Add token callback functions to header.
gmi.c:
Add token callback for recovery routines.
BKrev: 4159aa0ejs1nwJhT7hT1XL-gr9wv2Q
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@297 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
2392be8d57
add assert around gmi_mcast calls since it can return a failure now.
...
BKrev: 4154791ch3ag3FHVGxaUfrVFsvN3sQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@293 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
7e7cc83fc8
testparse.c:
...
Fix commit error in changeset 1.77.
BKrev: 41534ab0cY4dYHQw-qoPHLMpXQTAAQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@291 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:14:08 +00:00
Steven Dake
bb2a6782cb
Fix commit error in changeset 1.77.
...
(Logical change 1.81)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@290 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:14:08 +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
91bf4a4afd
Add sectione xpiration and get checkpoint durations working properly.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@288 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
9c6bf02fcf
Clean up duration and expiration functions.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@287 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
f2fca925bc
Test expiration timer.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@285 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
f7a0b8095f
Add final support for duration timers on checkpoints and expiration timers.
...
This cleans up memory leaks that could occur because checkpoints are expected to
cleanup with the expiration and duration timers.
testckpt.c:
Test expiration timer.
ckptbenchth.c:
Reduce number of threads so runs with valgrind operate faster.
ckpt.c:
Clean up duration and expiration functions.
ais_types.h:
Add sectione xpiration and get checkpoint durations working properly.
ais_msg.h:
Add section expiration and get checkpoint durations working properly.
ckpt.h, ckpt.c:
Finalize expiration of sections and checkpoints.
print.c:
Allow getSaNameT to be compiled in for application reporting.
evs.c:
Fix build error with -DDEBUG set.
BKrev: 41534a3dcm_0gpB32jNbsek3bGYwXQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@283 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
e94dd27cff
Reduce number of threads so runs with valgrind operate faster.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@282 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-23 22:12:13 +00:00
Steven Dake
1fde8a96da
Add section expiration and get checkpoint durations working properly.
...
(Logical change 1.80)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@281 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
1a986df850
tlist.h:
...
Change interface to allow storing of handle address in timer structure.
aispoll.h, aispoll.c:
Change define for timer handle.
tlist.c:
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.
BKrev: 4152267afe09VjiyO_78GrWKiND_oQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@278 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
6ee24ca4df
Fix annoying build failure because of code coverage increases.
...
(Logical change 1.78)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@276 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-22 19:57:18 +00:00
Steven Dake
f95a7adeb0
testparse.c:
...
Fix annoying build failure because of code coverage increases.
BKrev: 4151d91edCQRlmhK78LajPaUV35NyQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@275 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-09-22 19:57:18 +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
69afa631d8
Add duration timer support.
...
ckpt.h:
Add retained checkpoints timer to checkpoint structure.
ckpt.c:
Add retained checkpoints while also cleaning up memory leakage that occurs
because of a lack of retained events.
BKrev: 414f7d20vmWMyWW9eWJST5Ew5sw_yw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@273 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
2ea6537fee
gmi.c:
...
Get rid of valgrind warning and possible segfault.
BKrev: 414f7c5cf4HwWODMiTAI2PCkLX1fnw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@270 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
45cd196295
handlers.h, gmi.h:
...
Missed merge of these two files from last changeset.
BKrev: 414f573d4f7iW8ZMEKLNAImK24Vn3g
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@268 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