- **status**: assigned --> unassigned
- **assigned_to**: Anders Bjornerstedt --> Neelakanta Reddy
- **Part**: - --> nd
- **Milestone**: future --> 4.6.FC



---

** [tickets:#57] IMM: Immnd timeout on CCB-OI upcall should reset client 
handle**

**Status:** unassigned
**Milestone:** 4.6.FC
**Created:** Wed May 08, 2013 08:31 AM UTC by Anders Bjornerstedt
**Last Updated:** Mon Aug 11, 2014 12:19 PM 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.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to