Commit Graph

480 Commits

Author SHA1 Message Date
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
Steven Dake
6b72e1c5f6 64 bit handles.
(Logical change 1.127)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@450 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
bb4188967a Update print data to new node structure.
(Logical change 1.127)


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


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@448 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
f5c44e6564 change data type of handle to 64 bits for evs_handle_t.
(Logical change 1.127)


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


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@446 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
bf0ef309a5 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@445 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:13 +00:00
Steven Dake
b6959ce427 fix defect 131 - member element not set in cluster membership service
(Logical change 1.126)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@444 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
e3741ea9f3 More fixes for defect 204. From Mark Haverkamp:
|Looking at the totempg config change function, I think that leaving
|members should have their assembly area reset.  I assume that any data
|that is there is now invalid, and we wouldn't want it hanging around if
|they return.  Also, I think that the wrong index was being used to
|initialize the assembly area index.

(Logical change 1.126)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@443 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
16a9276d98 totempg.c:
More fixes for defect 204.  From Mark Haverkamp:
  |Looking at the totempg config change function, I think that leaving
  |members should have their assembly area reset.  I assume that any data
  |that is there is now invalid, and we wouldn't want it hanging around if
  |they return.  Also, I think that the wrong index was being used to
  |initialize the assembly area index.
clm.c:
  fix defect 131 - member element not set in cluster membership service

BKrev: 41ffe9278sM8ZyWmj_3tmUK0YiqgSQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@442 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-01 20:40:07 +00:00
Steven Dake
e6a0eca16a Fix from mark and daniel for small packet sizes in totempg resulting
in segfault.

(Logical change 1.125)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@441 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 22:07:48 +00:00
Steven Dake
09d20d5f1e random drop defined to on.. turning off.
(Logical change 1.125)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@440 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 22:07:48 +00:00
Steven Dake
d76fe685b3 totemsrp.c:
random drop defined to on..  turning off.
totempg.c:
  Fix from mark and daniel for small packet sizes in totempg resulting
  in segfault.

BKrev: 41feac34ILMg8MsBZNAXgHefIA22zw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@439 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 22:07:48 +00:00
Steven Dake
b54a5993c8 totempg.c:
Fixes defect 204 : messages not delivered correctly
  Patch from Mark Haverkamp.

BKrev: 41fe8cbaM4eR7_3dP91qFSahtT23dA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@438 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:53:30 +00:00
Steven Dake
ce60bbfc27 Fixes defect 204 : messages not delivered correctly
Patch from Mark Haverkamp.

(Logical change 1.124)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@437 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:53:30 +00:00
Steven Dake
0f959ea931 Fix bug in implementation that deviates from specification.
(Logical change 1.123)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@436 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:52:36 +00:00
Steven Dake
57c00ed45d totemsrp.c:
Fix bug in implementation that deviates from specification.

BKrev: 41fe8c84mIHGgf3brH_kZTiOR_ACvQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@435 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-31 19:52:36 +00:00
Steven Dake
b6306c29d5 bug 214
Fix pthread mutex not unlocked in error path

(Logical change 1.122)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@434 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-29 18:30:56 +00:00
Steven Dake
aa419f82af remove priority fields from evs service.
..

(Logical change 1.122)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@433 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-29 18:30:56 +00:00
Steven Dake
5a3d94cb88 remove priority fields from evs service.
(Logical change 1.122)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@432 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-29 18:30:56 +00:00
Steven Dake
c6e8f17088 evs_mcast_joined.3:
remove priority fields from evs service.
  ..
evs_mcast_groups.3, evs.h, ais_msg.h:
  remove priority fields from evs service.
util.c:
  bug 214
  Fix pthread mutex not unlocked in error path

BKrev: 41fbd660W-BROulgsZt4S6LYD_pcvw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@431 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-29 18:30:56 +00:00