- **status**: unassigned --> fixed
- **Blocker**: --> False
- **Comment**:
This has been fixed by ticket 2308.
---
** [tickets:#1809] msg: APIs returning SA_AIS_OK even when cluster node has
left cluster membership**
**Status:** fixed
**Milestone:** future
**Created:** Thu May 05, 2016 09:52 AM UTC by Chani Srivastava
**Last Updated:** Tue Sep 20, 2016 05:58 PM UTC
**Owner:** nobody
**Attachments:**
-
[mqsv_demo_app.c](https://sourceforge.net/p/opensaf/tickets/1809/attachment/mqsv_demo_app.c)
(4.0 kB; text/x-c)
Setup:
Changeset- 7436
Version - opensaf 5.0
The issue is observed with last two releases also.
Issue: When a node is locked by clm service, saMsgQueueOpen() return SA_AIS_OK
when it is should have returned SA_AIS_ERR_UNAVAILABLE according to the spec as
mentioned blow:
If the cluster node has left the cluster membership or is being administratively
evicted from the cluster membership, the Message Service behaves as follows
towards processes residing on that node and using or attempting to use the
service:
⇒ Calls to saMsgInitialize() will fail with SA_AIS_ERR_UNAVAILABLE.
⇒ All Message Service APIs that are invoked by the process and that operate on
handles already acquired by the process will fail with
SA_AIS_ERR_UNAVAILABLE with the following exceptions, assuming that the
handle msgHandle has already been acquired:
Step to Reproduce:
1. Compile and build the attached test code.
2. After Initialization, test sleep for 10 sec
3. During this sleep, lock the CLM node from another node in cluster
4. saMsgQueueOpen returns successfully.
Expected: saMsgQueueOpen should fail with rc = 31
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets