Steven Dake
1e3efb5ec5
Block multicast messages during synchronization.
...
(Logical change 1.151)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@535 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 23:41:41 +00:00
Steven Dake
6157ca5acf
ckptbench.c:
...
retry writes when it appears the system is blocked, perhaps during a resynchronization.
Many files:
Block multicast messages during synchronization.
BKrev: 4238c435y6ZGwBr-M4xFHDUJ7HhLaQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@534 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 23:41:41 +00:00
Steven Dake
cddf94a28d
retry writes when it appears the system is blocked, perhaps during a resynchronization.
...
(Logical change 1.151)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@533 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 23:41:41 +00:00
Steven Dake
20f0520e8d
cleanup some shared datatypes.
...
(Logical change 1.150)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@532 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
4129c94111
cleanup some shared datatypes
...
(Logical change 1.150)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@531 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
9a903a77f9
(Logical change 1.150)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@530 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
f3bb1d7d2b
Mark Haverkamp reported some compile warnings with his compiler. Cleanup
...
those warnings by unifying the datatypes used in totempg and totemsrp into
one set of datatypes.
Many files:
cleanup some shared datatypes for the totem protocol.
totem.h:
new file
BKrev: 423879baJvLZpm8nNaRfQHRfWB2fOA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@529 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:54 +00:00
Steven Dake
ec940ed753
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@528 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:23:53 +00:00
Steven Dake
29285fa027
Improved synchronization test code from Muni Bajpai.
...
(Logical change 1.149)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@527 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:17:48 +00:00
Steven Dake
a84bc8feeb
ckpt-wr.c, ckpt-rd.c:
...
Improved synchronization test code from Muni Bajpai.
BKrev: 4238784c5RBxBXc3aHA68KOVGhAEWw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@526 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-16 18:17:48 +00:00
Steven Dake
b56cb8123d
Fix bug in sync which caused segfault.
...
(Logical change 1.148)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@525 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
afe5cdfe9b
totemsrp.h, totemsrp.c:
...
Allow totemsrp to remove the reference information for a token callback.
sync.c:
Fix bug in sync which caused segfault.
BKrev: 42371b753plEvd2J96qRpg6mRxki1Q
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@524 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
3e6bf37300
Allow totemsrp to remove the reference information for a token callback.
...
(Logical change 1.148)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@523 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 17:29:25 +00:00
Steven Dake
bcf4b26c0f
Add checkpoint reader and writer to test synchronization
...
(Logical change 1.147)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@522 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 00:46:57 +00:00
Steven Dake
c64eb7b02a
Makefile:
...
Add checkpoint reader and writer to test synchronization
ckpt-wr.c, ckpt-rd.c:
new file
BKrev: 42363081enPpMuQpdvw2e1uqFAqD0A
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@521 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 00:46:57 +00:00
Steven Dake
61f049cba0
(Logical change 1.147)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@520 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 00:46:57 +00:00
Steven Dake
ab4f252af6
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@519 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-15 00:46:56 +00:00
Steven Dake
b1d139bf54
Merge sdake@bk.osdl.org:/var/bk/openais
...
into persist.az.mvista.com:/home/sdake/openais
2005/03/14 15:39:42-07:00 mvista.com!sdake
ipc_gen.h, ipc_ckpt.h, ckpt.c:
Checkpoint synchronization patch from Muni Bajpai.
BKrev: 423612bc5lRZOqj0qi_o6zXGw1bAwg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@518 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-14 22:39:56 +00:00
Steven Dake
fb67519e32
Checkpoint synchronization patch from Muni Bajpai.
...
(Logical change 1.146)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@517 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-14 22:39:56 +00:00
Mark Haverkamp
622b861710
Update the publish API to return SA_AIS_ERR_TRY_AGAIN to the application
...
instead of handling it in the library.
(Logical change 1.145)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@516 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-11 19:03:05 +00:00
Mark Haverkamp
dbda82d396
Update the publish API to return SA_AIS_ERR_TRY_AGAIN to the application
...
instead of handling it in the library.
BKrev: 4231eb69MvlifP_ykH0Nfj693tUWMA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@515 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-11 19:03:05 +00:00
Mark Haverkamp
58cf2b9a20
New event service recovery code implementation for totem and the new
...
sync services.
(Logical change 1.144)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@514 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 22:08:07 +00:00
Mark Haverkamp
e819993066
New event service recovery code implementation for totem and the new
...
sync services.
BKrev: 422f73c7NkihQaud_tc4WYQOjavwhg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@513 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 22:08:07 +00:00
Steven Dake
7aeb6b2fc4
Cluster membership synchronization support
...
(Logical change 1.143)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@512 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 19:46:11 +00:00
Steven Dake
09ce67cf97
clm.c:
...
Cluster membership synchronization support
BKrev: 422f5283JgT5AkInLBoHrZMu0wx2rQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@511 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-09 19:46:11 +00:00
Steven Dake
e74587894d
Added synchronization base code. Four new APIs are required for a service
...
to support synchronization. sync_init, sync_process, sync_activate, and
sync_abort provide the calls into the recovery mechanism.
sync.h, sync.c:
new file
totemsrp.h, totemsrp.c, print.h, print.c, Makefile, main.c, handlers.h:
Synchronization base code added.
ipc_gen.h:
Synchronization base code.
BKrev: 422639e5L_FEDTWgRgI-w8vKm8zhMQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@510 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
d3143d660c
Synchronization base code.
...
(Logical change 1.142)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@509 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
4fc3c8e21f
Synchronization base code added.
...
(Logical change 1.142)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@508 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
248a68cc94
(Logical change 1.142)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@507 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:45 +00:00
Steven Dake
a880290b36
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@506 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-02 22:10:44 +00:00
Steven Dake
4196c44187
em64t support
...
(Logical change 1.141)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@505 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-27 06:27:31 +00:00
Steven Dake
2d3783e067
Many files:
...
em64t support
BKrev: 42216853DGp9Hwgh8mvnixFj_QMRUQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@504 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-27 06:27:31 +00:00
Steven Dake
c1f0338ff2
Many files:
...
Pass handle by value instead of address.
BKrev: 4216488aoAf2Eu5qvs7qGxx8rO9zXw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@503 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-18 19:56:58 +00:00
Steven Dake
037204a621
Pass handle by value instead of address.
...
(Logical change 1.140)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@502 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-18 19:56:58 +00:00
Steven Dake
365d2bf598
Auto merged
...
2005/02/16 17:24:12-07:00 mvista.com!sdake
send ring_id through configuration changes patch from Muni Bajpai.
(Logical change 1.139)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@501 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-17 00:25:01 +00:00
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