Steven Dake
f9e2657a9a
defect 709
...
if synchronize async called, but no callback set, error not returned
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@747 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:09:11 +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
1939c24938
defect 707
...
if checkpoint synchronize executedd with timeout=0, TIMEOUT error not returned
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@745 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:08:13 +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
4ddb2fc143
defect 704
...
if checkpoint is opened without read permissions, checkpoint synchronize
should return SA_AIS_ERR_ACCESS.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@742 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:06:48 +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
43806fe78e
defect 682
...
null iovector caues checkpointRead to segfault
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@737 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:03:41 +00:00
Steven Dake
2b0711e51e
defect 681
...
if null paramter passed to checkpoint service as iovector element, allocate
the io vector element
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@736 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:03:15 +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
c1044ae100
defect 677
...
SectionOverwrite with null sectionId segfaults
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@734 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:01:29 +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
1686406028
defect 675
...
section overwrite with null dataBuffer parameter locks up
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@732 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 20:00:15 +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
a74c5c5173
defect 732
...
req_amf_componentregister used instead of req_lib_amf_componentregister. There
is no definition for req_amf_componentregister.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@730 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:29:02 +00:00
Steven Dake
293941b8f8
defect 731
...
error - saSendReceiveReply instead of error = function
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@729 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:22:13 +00:00
Mark Haverkamp
dc23389a9a
Check for reserved event ID and return SA_AIS_ERR_INVALID_PARAM.
...
Bug 694
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@728 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-07 20:26:01 +00:00
Mark Haverkamp
588bca5636
Wait to return status to the library until the clear request
...
was received over the network so that the publish and receipt of the
event is in sync with the time clear request.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@727 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 22:36:10 +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
2e4b10583d
defect 502
...
fix assert when packet added in multicast message handler.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@725 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-30 20:29:33 +00:00
Steven Dake
f617334946
Remove some warnings from the compile.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@724 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 23:10:37 +00:00
Mark Haverkamp
d192e91974
Error comparing unsigned to less than zero.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@723 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 22:14:51 +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
68ae4e8b3c
defect 669
...
token retransmits dont work under heavy load.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@721 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:34:08 +00:00
Steven Dake
58e7e0f3c0
defect 656
...
libraries not built with position independent code. This causes x86_64 not to build.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@720 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:33:26 +00:00
Steven Dake
0f9972efb5
defect 655
...
invalid checkpoint open flags should return ERR_BAD_FLAGS
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@719 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:32:43 +00:00
Steven Dake
54ea8b5920
defect 654
...
wrong error code returned when checkpointSize > maxSections * maxSectionsSize in
checkpoint open.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@718 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:32:08 +00:00
Steven Dake
179fbe1ed7
defect 653
...
saCkptCheckpointOpen segfaults if null parameter passed in checkpointName
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@717 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:31:28 +00:00
Steven Dake
9ac741d7e3
defect 652
...
saCkptCheckpointOpen segfaults if null parameter passed to checkpointHandle
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@716 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:30:35 +00:00
Steven Dake
7a82e2acae
defect 651 - saCkptCheckpointUnlink segfaults if checkpointName attribute is null
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@715 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-29 21:29:37 +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
2b3bcfb6e0
saEvtEventAttributesSet needs to check that the priority value passed in
...
is valid.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@712 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-27 21:33:30 +00:00
Steven Dake
fa198acf82
Patch from Szakacsits Szabolcs to improve error detection in parsing
...
configuration files.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@711 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-27 20:26:21 +00:00
Mark Haverkamp
603e49e662
The channel open functions need to check for bad flags.
...
I set the newly created event elements to the default
values in the B spec.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@710 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-24 21:20:17 +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
Mark Haverkamp
d330f32d78
The A spec required patterns to be set but the B
...
spec doesn't. Fix lib/evt.c and test/testevt.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@708 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-23 14:44:29 +00:00
Mark Haverkamp
19801c20ce
This fixes some B spec related parameter checks
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@707 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-21 22:22:02 +00:00
Mark Haverkamp
217207babb
Some fixes to the event service based on the saftest event
...
tests results.
The changes may affect applications currently using the event service.
1. Timeout value to the saEvtChannelOpen call was updated to use
SA_TIME_MAX instead of 0 for infinite timeout.
2. added cleanup in the library to remove associated events when a
channel is closed, and remove associated channels when finalize is
called.
3. Added some new checking args for NULL and returning the correct error
code.
4. fixed dispatch to return correct status with SA_DISPATCH_ONE and no
available poll data.
5. Makefile had bad dependency for evt library build.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@706 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-21 22:19:03 +00:00
Steven Dake
9b4eb5f569
defect 643
...
saClmNodeGet timeout parameter of 0 should return SA_AIS_ERR_TIMEOUT
(Logical change 1.224)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@705 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:52:55 +00:00
Steven Dake
93bc3cc5c0
clm.c:
...
defect 643
saClmNodeGet timeout parameter of 0 should return SA_AIS_ERR_TIMEOUT
BKrev: 42b31c07wymW-ntnqdOvHrTrCDEEhA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@704 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:52:55 +00:00
Steven Dake
329fbb4fe3
defect 642
...
fix segfault when null clusterNode parameter passed to saClusterNodeGet
(Logical change 1.223)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@703 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:52:08 +00:00
Steven Dake
0c740cf0d3
clm.c:
...
defect 642
fix segfault when null clusterNode parameter passed to saClusterNodeGet
BKrev: 42b31bd8J6eYpNHnpFWwHWc3waURXw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@702 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:52:08 +00:00
Steven Dake
2829529059
clm.c:
...
defect 641
NodeGetAsync called with no nodeget callback should return SA_AIS_ERR_INIT
BKrev: 42b31ba3yncxyr2C6XoRwB_9yMdvRA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@701 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:51:15 +00:00
Steven Dake
31d37962ad
defect 641
...
NodeGetAsync called with no nodeget callback should return SA_AIS_ERR_INIT
(Logical change 1.222)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@700 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:51:15 +00:00
Steven Dake
71c43b313b
defect 640
...
fix wrong error code when null version parameter passed to saClmInitialize
(Logical change 1.221)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@699 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:50:27 +00:00
Steven Dake
0d4d8dbc95
clm.c:
...
defect 640
fix wrong error code when null version parameter passed to saClmInitialize
BKrev: 42b31b73Cok4gPBc42AbPIksg9Rw2w
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@698 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-17 18:50:27 +00:00