Commit Graph

500 Commits

Author SHA1 Message Date
Steven Dake
e19c7ba1ad Merge sdake@bk.osdl.org:/var/bk/openais
into persist.az.mvista.com:/home/sdake/openais

2005/02/16 17:24:48-07:00 mvista.com!sdake
Many files:
  send ring_id through configuration changes patch from Muni Bajpai.
clm.c:
  mutex bug fixes as reported by Kristen Smith.

BKrev: 4213e45dnMl87bYQKSfi4_98X352Lg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@500 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Steven Dake
eb8657f1e9 send ring_id through configuration changes patch from Muni Bajpai.
(Logical change 1.139)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@499 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Steven Dake
f77927efc8 mutex bug fixes as reported by Kristen Smith.
(Logical change 1.139)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@498 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
Mark Haverkamp
5bdbdd2235 Look for SA_EVT_EVENTID_LOST when receiving an event.
(Logical change 1.138)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@497 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 23:10:40 +00:00
Mark Haverkamp
299ec450df Set default event ID.
(Logical change 1.138)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@496 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 23:10:40 +00:00
Mark Haverkamp
2f5f075bfa Set lost event ID on dropped events.
(Logical change 1.138)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@495 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 23:10:40 +00:00
Mark Haverkamp
e139df460d Use special event ID for setting the default in a new event and to indicate
a lost event.  Update subscription test to look for the "lost" event ID.

BKrev: 42128170Q5DcNymwbx8NushEykXwmg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@494 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 23:10:40 +00:00
Mark Haverkamp
191871bb73 Add unlink function.
(Logical change 1.137)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@493 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 16:54:46 +00:00
Mark Haverkamp
42473f1da4 Merge markh@bk.osdl.org:/var/bk/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work

2005/02/15 08:54:34-08:00 osdl.net!markh
Add unlink function.

BKrev: 42122956O-InvJqb6K70vMTy4gl8yQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@492 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-15 16:54:46 +00:00
Steven Dake
eee52e30ce Increase code coverage by calling more API functions.
(Logical change 1.136)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@491 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-09 00:34:16 +00:00
Steven Dake
fec769526b testevs.c, testckpt.c:
Increase code coverage by calling more API functions.
testamf.c:
  Fix bug in test script which was causing test not to run.
  Increase code coverage by allowing few more apis to be called.
totemsrp.c:
  Increase code coverage by removing some debug code

BKrev: 42095a88Q0lU2eqEirC1FAZ05pxlmg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@490 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-09 00:34:16 +00:00
Steven Dake
863b60f5c0 Fix bug in test script which was causing test not to run.
Increase code coverage by allowing few more apis to be called.

(Logical change 1.136)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@489 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-09 00:34:16 +00:00
Steven Dake
bc65a96a33 Increase code coverage by removing some debug code
(Logical change 1.136)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@488 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-09 00:34:16 +00:00
Steven Dake
309fc1bf8b (Logical change 1.135)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@487 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
c4e98ec770 Many files:
defect 245 - revise checkpoint service to B.01.01.
saCkpt.h, ipc_ckpt.h, sa_error.h:
  new file
.del-ais_clm.h~ed02cd4c7506e43:
  Delete: include/ais_clm.h
.del-ais_ckpt.h~b3c15abf536a6fbc:
  Delete: include/ais_ckpt.h

BKrev: 42092786pSJQ8uC11PWAhWTC1Hwjqw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@486 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
c32d4f3fd5 defect 245 - revise checkpoint service to B.01.01.
(Logical change 1.135)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@485 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
c9bdb3aedd Delete: include/ais_ckpt.h
}(Logical change 1.135)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@484 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
174e9b9c1e Delete: include/ais_clm.h
}(Logical change 1.135)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@483 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:38 +00:00
Steven Dake
27768eaf79 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@482 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:56:37 +00:00
Steven Dake
8d8d9329eb totemsrp.c:
Add more text output to display what occurs during recovery.
  Fix recovery bug which results in segfault.
  fix defect 228 - ring id file deleted causes assert.
  Fix recovery bug where recovery doesn't complete.
  Fix assert on commit phase.

BKrev: 42092662LEVSqJlhbISw-Hweb4Cbfg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@481 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:51:46 +00:00
Steven Dake
da9bedb150 Add more text output to display what occurs during recovery.
Fix recovery bug which results in segfault.
fix defect 228 - ring id file deleted causes assert.
Fix recovery bug where recovery doesn't complete.
Fix assert on commit phase.

(Logical change 1.134)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@480 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 20:51:46 +00:00
Mark Haverkamp
4fc0ad66e9 Add test for channel open async
(Logical change 1.133)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@479 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 17:16:52 +00:00
Mark Haverkamp
cd76f75d0a Add handler for channel open async
(Logical change 1.133)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@478 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 17:16:52 +00:00
Mark Haverkamp
0574c42497 Add handler for channel open async and add a test to
testevt for the async channel open function.
Bug fix for event retention time clear exec code and added comments
when converting nanoseconds to milliseconds.

BKrev: 4208f4048DxJP7FLwfqHo7TfAoEJlA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@477 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-08 17:16:52 +00:00
Mark Haverkamp
c720930bfb This fixes a potential problem where, because of a config change, a joining
node may not have a previous fragment of a message.  It now discards
continuations of that message until it is complete and a new message
arrives.

(Logical change 1.132)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@476 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:33:20 +00:00
Mark Haverkamp
55d594a6a2 This fixes a potential problem where, because of a config change, a joining
node may not have a previous fragment of a message.  It now discards
continuations of that message until it is complete and a new message
arrives.

BKrev: 4203ea20pYSrD8ZyY3pxIHSXFSooeg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@475 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:33:20 +00:00
Mark Haverkamp
8cd33e031b Remove ais_evt.h since its content has been moved.
BKrev: 4203e785HE6cQ-KCAgc-CHHOiZ0tEg


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@474 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:22:13 +00:00
Mark Haverkamp
71422bf18e Delete: include/ais_evt.h
}(Logical change 1.131)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@473 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:22:13 +00:00
Mark Haverkamp
acfa063383 Update to B spec API
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@472 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
cea808bef3 Update event service to B spec API.
BKrev: 4203e6d8nLXD7EMTNFZNfFwMnzt8mA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@471 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
03492e8793 Conver to B spec API.
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@470 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
94907f021c update dependencies.
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@469 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
887e2b62c0 (Logical change 1.130)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@468 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
adfa212535 Update evt to B spec
remove event related code and move to ipc_evt.h and saEvt.h

(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@467 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
f091cf2a65 Use B spec include files
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@466 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
b5d82dce9a Convert to B spec.
Add in endian conversion functions.

(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@465 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
c7e13c84e8 Moved from ais_msg.h so ais_msg.h doesn't need to be included by evt.
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@464 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
58b1b579c0 update evt to B spec.
remove evt related code and move to ipc_evt.h and saEvt.h

(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@463 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
0b115aa650 update dependencies
(Logical change 1.130)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@462 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:20 +00:00
Mark Haverkamp
f3e549573a Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@461 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 21:19:19 +00:00
Steven Dake
6023b6f56c util.c:
Fix merge error in util.c file

BKrev: 4203d35fqEwtXJ4ZtIAnGz5HWpHsEQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@460 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:56:15 +00:00
Steven Dake
79d26e0032 Fix merge error in util.c file
(Logical change 1.129)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@459 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:56:15 +00:00
Steven Dake
02f3c50c8f Small fix for data types.
(Logical change 1.128)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@458 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:54:01 +00:00
Steven Dake
898c85d4b7 util.c:
Small fix for data types.

BKrev: 4203d2d97z9HmoblaHq8etKUqRGF0w


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@457 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:54:01 +00:00
Steven Dake
7716482472 Update to use 64 bit data types for handles.
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@456 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
c27c4a8121 testamf1.c, testamf2.c:
64 bit handles.
testevs.c, testclm.c, testamfth.c, testamf6.c, testamf4.c, testamf3.c:
  64 bit handles
evs.h:
  change data type of handle to 64 bits for evs_handle_t.
ais_types.h:
  remove cluster membership types and put in saClm.h file.
ais_msg.h:
  remove cluster membership code and put in ipc file.
util.h, util.c:
  Update to use 64 bit data types for handles.
clm.c:
  Update cluster membership to B.01.01.
print.h:
  Update print data to new node structure.
clm.h, clm.c:
  Update cluster membership service to B.01.01.
saClm.h, ipc_gen.h, ipc_clm.h:
  new file

BKrev: 4203ce72I415G1q4yQQNjFfAxSJVOA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@455 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
d276803375 64 bit handles
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@454 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
0a1b22c095 remove cluster membership code and put in ipc file.
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@453 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
4770543a23 Update cluster membership service to B.01.01.
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@452 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
47eb95d3a8 (Logical change 1.127)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@451 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00