There may be an idempotency case to consider when fixing this ticket.
That is if implemenerSet succeeds, but for some reason the OI invokes the
same implementer set again using the same oi-handle and the same implementer
name. Such a redundant implementer-set call could be detected in the imma
library and an SA_AIS_OK could be returned in this case (idempotency).
---
** [tickets:#936] IMM: OiImplementer set api call for 2nd time should return
ERR_EXIST**
**Status:** assigned
**Milestone:** future
**Created:** Thu Jun 05, 2014 11:57 AM UTC by surender khetavath
**Last Updated:** Thu Jun 05, 2014 11:57 AM UTC
**Owner:** Neelakanta Reddy
changeset : 5270.
The imm api call saImmOiImplementerSet() for 2nd time with same OI name is
returning ERR_INVALID_PARAM. Instead it should return ERR_EXIST
spec definition:
SA_AIS_ERR_EXIST - An object implementer with the same name is already regis-
tered with the IMM Service or an object implementer name is already set for the
han-
dle immOiHandle.
Also, there is no ERR_INVALID_PARAM return code defined in spec for this api.
Agent traces:
Jun 5 17:04:11.486724 imma [28790:imma_oi_api.c:0326] << saImmOiInitialize_2
Jun 5 17:04:11.495662 imma [28790:imma_oi_api.c:1174] NO ERR_INVALID_PARAM:
Implementer OiImplementerSet_twice already set for this handle when trying to
set OiImplementerSet_twice
---
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.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets