Miyotaka Sakai
ffd546701d
amf.c:
...
fix configuration change
BKrev: 424889eehbHC-A5YNtbXzaEzVMhcVQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@560 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 22:49:18 +00:00
Steven Dake
688323e33d
Remove extra debug printf.
...
(Logical change 1.162)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@559 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
d37166568b
totemsrp.c:
...
Remove extra debug printf.
BKrev: 42485391qM7HG2et7RcmNIHInqXxTA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@558 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:57:21 +00:00
Steven Dake
7d0da71edc
defect 368
...
A report of totemsrp not merging configurations led to this
enhancement.
totemsrp.c:
The totem protocol would not previously merge a configuration
until a multicast message was sent. This change sends a special
"merge detect" message if no message has been multicast in some
time from the representative. This merge detect message will
trigger other processors to enter the gather state and form
a new configuration if they were not previously part of the
current configuration.
Makefile:
Build aisexec when libtotem.a changes.
BKrev: 42484f5453Wf6HN2Gbyg9dznFaQGtw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@557 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
29585e709f
The totem protocol would not previously merge a configuration
...
until a multicast message was sent. This change sends a special
"merge detect" message if no message has been multicast in some
time from the representative. This merge detect message will
trigger other processors to enter the gather state and form
a new configuration if they were not previously part of the
current configuration.
(Logical change 1.161)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@556 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Steven Dake
60049623b6
Build aisexec when libtotem.a changes.
...
(Logical change 1.161)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@555 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:39:16 +00:00
Mark Haverkamp
26e2fa2638
This update allows retained events from a merging partition to
...
be delivered to applications with the associated channels already
open at the time of the merge.
BKrev: 42484b6f0IXKK1Bql-GCaHwTbXg0dQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@554 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:22:39 +00:00
Mark Haverkamp
790c36084c
This update allows retained events from a merging partition to
...
be delivered to applications with the associated channels already
open at the time of the merge.
(Logical change 1.160)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@553 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 18:22:39 +00:00
Mark Haverkamp
ba546499ad
Async open and subscribe needed to check for registered call back
...
functions and retrun an error if there were no assocated callbacks.
BKrev: 42483e43sOS_W8zCqoAZNHTy43FhkA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@552 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 17:26:27 +00:00
Mark Haverkamp
9da13b631e
Async open and subscribe needed to check for registered call back
...
functions and retrun an error if there were no assocated callbacks.
(Logical change 1.159)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@551 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-28 17:26:27 +00:00
Mark Haverkamp
6b9a85376c
Only dispatch a callback if it is non-null.
...
(Logical change 1.158)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@550 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-23 20:12:44 +00:00
Mark Haverkamp
6ef7bdb950
Only dispatch a callback if it is non-null.
...
BKrev: 4241cdbcbgCCwsZLJEXicZZTvGpuGQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@549 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-23 20:12:44 +00:00
Steven Dake
e1b14b28be
defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet
...
(Logical change 1.157)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@548 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:37:45 +00:00
Steven Dake
4441abc73f
ckpt.c:
...
defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet
BKrev: 4240ac49svEd0Uoaf0zn8-6YXK5akw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@547 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:37:45 +00:00
Steven Dake
f02733f736
Makefile:
...
Link to seperate libraries.
Provide seperate libraries per service as well as the consolidated libais library.
BKrev: 4240ac15wtabDEmO2ooaShdbFZP-wg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@546 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Steven Dake
1faf416af7
Link to seperate libraries.
...
(Logical change 1.156)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@545 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Steven Dake
7c2548db8a
Provide seperate libraries per service as well as the consolidated libais library.
...
(Logical change 1.156)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@544 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:36:53 +00:00
Mark Haverkamp
f8f841f31e
Fix an off by one error causing a bad event ID to be sent after
...
a recovery in some cases.
BKrev: 4240a8ba6cGIAgqLoTZNAUZJJOgyrg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@543 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:22:34 +00:00
Mark Haverkamp
00fc37a307
Fix an off by one error causing a bad event ID to be sent after
...
a recovery in some cases.
(Logical change 1.155)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@542 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-22 23:22:34 +00:00
Mark Haverkamp
81b83714ec
Event service now reconciles open channels and retained events between active
...
merging partitions.
(Logical change 1.154)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@541 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 22:44:28 +00:00
Mark Haverkamp
2623910cf4
Merge markh@bk.osdl.org:/var/bk/openais
...
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
2005/03/17 14:44:09-08:00 osdl.net!markh
Event service now reconciles open channels and retained events between active
merging partitions.
BKrev: 423a084c-3ULQ_tcgSf5isGBiqzUWA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@540 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 22:44:28 +00:00
Steven Dake
4cdb14fa53
Merge sdake@bk.osdl.org:/var/bk/openais
...
into persist.az.mvista.com:/home/sdake/openais
2005/03/17 14:25:22-07:00 mvista.com!sdake
ckpt.c:
Change few ERROR loggings to DEBUG loggings from Muni Bajpai.
BKrev: 4239f5cbSrwx6_k9jxG2_GjW1OoVHQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@539 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 21:25:31 +00:00
Steven Dake
0affa78f7d
Change few ERROR loggings to DEBUG loggings from Muni Bajpai.
...
(Logical change 1.153)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@538 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 21:25:31 +00:00
Mark Haverkamp
6c7a81b616
Handle possible SA_AIS_ERR_TRY_AGAIN status.
...
BKrev: 4239c886n6J6MzMfIVjaN1QvFnsfzg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@537 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 18:12:22 +00:00
Mark Haverkamp
6de1db9ba4
Handle possible SA_AIS_ERR_TRY_AGAIN status.
...
(Logical change 1.152)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@536 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-17 18:12:22 +00:00
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