Commit Graph

70 Commits

Author SHA1 Message Date
Steven Dake
e7f1e9200f enhancement 813
Rename ais_types.h header file to be more compliant with sa forum


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@796 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:27:25 +00:00
Steven Dake
256024ac8e defect 822
checkpoint synchronization has serious bug after saftest fixups



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@795 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:21:16 +00:00
Steven Dake
4ff4c440ca Patch from Russell Bryant to fix up gcc 4 warnings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@793 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-12 22:29:35 +00:00
Steven Dake
cf6af14aea Fix a few compile warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@787 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 21:21:43 +00:00
Steven Dake
283790b715 Add infrastructure support for multiring to totem library
Make totemsrp support multiple instances of a running protocol within one app.
Rename libtotem to libtotem_pg because of a name conflict with some movie player


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@782 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-29 20:55:25 +00:00
Steven Dake
275e6fb9b5 defect 784
readSize is not properly set after return from checkpoint read operation.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@779 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-27 20:07:35 +00:00
Steven Dake
7526e8f6a5 defect 751
when ckptSectionIterationNext iterates all sections, SA_AIS_ERR_NO_SECTIONS
not being returned.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@769 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:59:53 +00:00
Steven Dake
ec394bdf18 defect 750
in saCkptIterationFinalize if no active replica set, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@768 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:59:13 +00:00
Steven Dake
506b37b4c9 defect 748
rename sectioniterator to sectioniteration in executive and library


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@766 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:58:02 +00:00
Steven Dake
950c62c4db defect 745
in saCkptSectionCreate if initialData == NULL return INVALID_PARAM


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@763 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:56:09 +00:00
Steven Dake
2347f5ab8e defect 744
return SA_AIS_ERR_EXIST in saCkptSectionCreate if maxSections == 1


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@762 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:54:37 +00:00
Steven Dake
53c69c8d84 defect 743
in saCkptCheckpointSectionCreate return SA_AIS_ERR_NO_SPACE if
current sections == maxSections


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@761 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-15 16:53:55 +00:00
Steven Dake
e7c326db9b defect 718
if no active replica is not set do not set expiration time and return error.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@756 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:13:25 +00:00
Steven Dake
61f6122074 defect 713
if active replica not set in section delete, return error


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@751 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:10:56 +00:00
Steven Dake
2551bbd00a defect 711
if no active replica set in checkpoint write, error not returned


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@749 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:10:02 +00:00
Steven Dake
566e0e4b7e defect 708
checkpoint synchronize async call not implemented


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@746 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:08:39 +00:00
Steven Dake
23c2dd0b53 defect 706
replica is not set based upon open flags as per specification


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@744 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:07:45 +00:00
Steven Dake
86009cad4a defect 705
if synchronize executed on a checkpoint that was created WR_ALL_REPLICAS return
error.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@743 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:07:20 +00:00
Steven Dake
d8accbfacc defect 703
checkpoint synchronize calls do not check if active replica set


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@741 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:06:04 +00:00
Steven Dake
0469a201e4 defect 702
checkpoint synchronize missing executive handler


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@740 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:05:42 +00:00
Steven Dake
e9d1f437e4 defect 684
return INVALID_PARAM in checkpoint read if dataSize greater then
maxSections * maxsectionsSize.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@739 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:05:15 +00:00
Steven Dake
c731007ecd defect 683
if active replica not set, checkpointread should return SA_AIS_ERR_NOT_EXIST


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@738 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:04:21 +00:00
Steven Dake
2bdc4e356c defect 680
ckptsectionoverwrite should return INVALID if dataSize greater then
maxSections * maxSectionsSize


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@735 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:02:20 +00:00
Steven Dake
56bda7982b defect 676
sectionoverwrite doesn't return correct error when checkpoint section
doesn't exist


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@733 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:00:58 +00:00
Steven Dake
1bf4e3bb25 defect 734
cleanup include files and exports from libraries



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@731 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:57:48 +00:00
Steven Dake
d07ea82159 defect 673
fix checkpoint unlink not cleaning up checkpoints.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@726 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 20:32:55 +00:00
Steven Dake
6b719b3504 Enables test caes in saftest to pass by returning failure return codes in both
callback and return function.  This may have to change later if a later errata
changes this functionality.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@722 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:36:51 +00:00
Steven Dake
88dea715ff defect 646 - wrong return code in checkpoint open
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@714 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:28:06 +00:00
Steven Dake
91c6b6d699 Patch from Muni Bajpai to improve synchronization after a merge.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@713 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-28 19:01:25 +00:00
Mark Haverkamp
cbc8feca89 I discovered that our SaAisErrorT is incorrect. I have included a patch
to fix that.  The SA_AIS_ERR_BAD_CHECKPOINT code doesn't exist.  I
replaced it with SA_AIS_ERR_BAD_OPERATION.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@709 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-24 21:19:02 +00:00
Steven Dake
e8de042ab3 defect 630
if a checkpoint is unlinked then opened it should return
SA_AIS_ERR_NOT_EXIST

(Logical change 1.211)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@678 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:41:54 +00:00
Steven Dake
fbdb04b8cf defect 629
Return error if checkpoint has been unlinked on retentation duration set

(Logical change 1.210)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@676 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:40:45 +00:00
Steven Dake
3f05a6fd64 defect 628
saCkptCheckpointStatusGet test case 13 from saftest fails

(Logical change 1.209)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@675 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:39:51 +00:00
Steven Dake
8a8983126d defect 595
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite.

(Logical change 1.200)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@650 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Steven Dake
d128af9396 defect 592
If ActiveReplicaSet is called, the correct return values are not
returned, causing failures in the saf test suite.

(Logical change 1.198)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@646 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:11:20 +00:00
Mark Haverkamp
632a94dd7d Allow services to use the openais.conf file for setting custom options.
(Logical change 1.195)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-26 22:19:26 +00:00
Steven Dake
8b7d9fbc4d defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working
(Logical change 1.187)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@620 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 18:32:17 +00:00
Steven Dake
3d8dbf1d32 defect 505 - fix uncompilable with gcc 2.95
(Logical change 1.186)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@619 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-21 00:57:34 +00:00
Steven Dake
7d1b8e0d11 defect 188 - use two fds instead of one fd for I/Os to executive
(Logical change 1.175)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@594 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:08:20 +00:00
Steven Dake
c3e125b165 defect 478 - remove extra parameter to config change.
(Logical change 1.174)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 19:03:18 +00:00
Steven Dake
1ff6f56a48 Add default section support to checkpoints.
(Logical change 1.172)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@584 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-11 21:25:27 +00:00
Steven Dake
50f9bbdf24 Patch from Muni and Mark to properly calculate the header size
field so that the totem delivery assertion doesn't assert when
using ckpt services.

(Logical change 1.171)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@580 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-08 21:12:48 +00:00
Steven Dake
3c98ff2d84 change around this_ip to better support ifup/ifdown
(Logical change 1.167)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@573 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-01 21:20:11 +00:00
Steven Dake
46c6c4f47c Patch from Muni Bajpai to not setup a cleanup handler for a
checkpoint when a checkpoint open fails.  Patch also fixes up
checkpoint iterators so they do not crash on process exit.

(Logical change 1.164)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@563 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-03-29 22:43:15 +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
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
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
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
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
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