- **status**: review --> fixed
- **Comment**:

default (5.1) [staging:22a82b]
changeset:   7936:22a82bee28b2
user:        Hung Nguyen <[email protected]>
date:        Thu Aug 11 13:51:52 2016 +0700
summary:     imm: Return implementer ID to timed out client [#1948]

opensaf-5.0.x [staging:9a3cca]
changeset:   7937:9a3cca2a7349
user:        Hung Nguyen <[email protected]>
date:        Thu Aug 11 13:51:52 2016 +0700
summary:     imm: Return implementer ID to timed out client [#1948]

opensaf-4.7.x [staging:2444a9]
changeset:   7938:2444a93690ee
user:        Hung Nguyen <[email protected]>
date:        Thu Aug 11 13:51:52 2016 +0700
summary:     imm: Return implementer ID to timed out client [#1948]




---

** [tickets:#1948] imm: Fail to retry saImmOiImplementerSet after timeout**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Thu Aug 11, 2016 04:42 AM UTC by Hung Nguyen
**Last Updated:** Thu Aug 11, 2016 07:15 AM UTC
**Owner:** Hung Nguyen


If timeout occurs when calling saImmOiImplementerSet (the request succeeds in 
IMM server, just slow to reply), it will fail to retry to set implementer with 
ERR_EXIST returned.

IMM server still sends the callbacks to OI, but OI isn't aware that it was 
successfully set implementer name (cl_node->mImplementerId is still zero)



-----



##### Reproduce
Put some sleep to immnd_evt_proc_impl_set_rsp().

saImmOiImplementerSet(oi_handle, implementer_name); => returns ERR_TIMEOUT
sleep(1);
saImmOiImplementerSet(oi_handle, implementer_name); => returns ERR_EXIST
sleep(1);
saImmOiImplementerSet(oi_handle, implementer_name); => returns ERR_EXIST
...




---

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

Reply via email to