- **status**: unassigned --> accepted
---
** [tickets:#57] IMM: Immnd timeout on CCB-OI upcall should reset client
handle**
**Status:** accepted
**Milestone:** 4.6.FC
**Created:** Wed May 08, 2013 08:31 AM UTC by Anders Bjornerstedt
**Last Updated:** Thu Dec 18, 2014 11:52 AM UTC
**Owner:** Neelakanta Reddy
Migrated from:
http://devel.opensaf.org/ticket/2339
See ticket 2284.
http://devel.opensaf.org/ticket/2284
The fix for that ticket blocks the client from using the handle
until the pending reply has been resolved.
The reply can be resolved either by the OI replying or
by the immnd-server time-out for continuations.
The latter will also clean up continuations for crashed or hung
OIs.
It is actually the case that for admin-operation continutaions and
for search-request-continuations, this should already be working.
But for CCB-operation continuations, a timeout in the immnd server
will simply abort the CCB in the server and not clear the handle.
This enhancement proposes that the cleanup of CCB-operation
continuations at OI timeout should also generate an ERROR reply to the client.
An OI timeout on a ccb callback will always abort the CCB so any reply
forwarded towards the OM CCB client should be an ERR_FAILED_OPERATION and not
ERR_TIMEOUT.
Such a timeout related error will either be sent all the way to the client,
if the client-side timeout is longer than the server timeout.
Or (when the client has already timed out in the library)
be discarded by MDS.
The main points are (a) that the handle gets cleared in the server when
the continuation times out in the server; and (b) that the the CCB OM client
receives an error reply when that om client has NOT timed out.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets