- **status**: accepted --> wontfix
- **Comment**:
The API suggested in this ticket was rejected here (internally at Ericsson).
We therfore revert to the fallback solution of only providing the
discrimination between validation
abort and resource abort via the error string API. Enhancement ticket #744 will
ensure that there
is a consistent/reliable prefix on the error string provided from the IMM
service, that will allow
an application to determine the distinction by string matching.
This is exactly the solution we suggested two years ago and which was rejected
then.
The string matching solution is simply a "take it or leave it" solution.
Applications that
do not wish to use this solution may simply try to replay *any* CCB that is
aborted by
the IMMSv (i.e. ERR_FAILED_OPERATION is returned on a ccb-related operation).
If the CCB was aborted due to validation error then the replayed CCB will of
course fail again.
If the CCB was aborted due to resource error then it should normally succeed on
a new atempt.
Note however that an OI may also reject a CCB due to resource error, by
returning
ERR_NO_RESOUCES on a CCB related callback. Such a resource abort is of course
outside
the control of the IMMSv.
---
** [tickets:#1449] IMM: CCB interface for probing abort reason (validation
error or resource error)**
**Status:** wontfix
**Milestone:** 4.7.FC
**Created:** Fri Aug 14, 2015 08:33 AM UTC by Anders Bjornerstedt
**Last Updated:** Fri Aug 28, 2015 02:08 PM UTC
**Owner:** Zoran Milinkovic
Suggested interface, closely related to saImmOmCcbGetErrorStrings():
extern SaAisErrorT saImmOmCcbGetAbortReason(SaImmCcbHandleT ccbHandle,
SaBoolT* isValidationAbort);
Arguments : ccbHandle (in) - The ccb handle.
isValidationAbort (out) - SA_TRUE if validation
abort otherwise resource abort.
Return Values :
SA_AIS_OK
SA_AIS_ERR_BAD_HANDLE - bad ccb handle.
SA_AIS_ERR_INVALID_PARAM - handle is associated with ccb
that is NOT aborted.
SA_AIS_ERR_VERSION (not using A.2.xx)
---
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.------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets