- **status**: accepted --> review


---

** [tickets:#1216] imm: saImmOmCcbApply sometimes hangs for 10 seconds after 
saImmOmCcbValidate**

**Status:** review
**Milestone:** 4.5.1
**Created:** Tue Nov 18, 2014 01:41 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Nov 18, 2014 02:06 PM UTC
**Owner:** Zoran Milinkovic

After using saImmOmCcbValidate, saImmOmCcbApply does not always immediately
return OK when successfully completed. It stays blocked for 10 seconds until 
syncronous timeout and then returns OK.

When the ccb/admo/om handle is subsequently used after this the om user gets
ERR_BAD_HANDLE.

The problem appears to be a lost or incorrectly handled request continuation.
    The ccb successfully commits.
    The reply to the om client is lost/omitted.
    The om client library gets ERR_TIMEOUT internally.
    The omCcbApply logic catches the ERR_TIMEOUT and does special processing
    of ERR_TIMEOUT for the apply case. It probles the server again on ccb 
outcome.
    The library logic gets OK reply from the server and replies with ok on the 
apply.

At this point everything should be normal. The only thing abnormal is the
long time in replying OK on the ccbApply. 

But the nexct attempt to use the handle will result in ERR_BAD_HANDLE.
ERR_BAD_HANDLE is of course an error  code to be expected now and then,
but in this case it is obvious that it is related to the unusual processing
of the reply from ccbApply and not due to any legitimate cause such as 
handle becoming stale due to a restart of local IMMND. 


The case to produce the the problem:
- Disable PBE
- Admin owner set
- Ccb create object (object/class should have an OI)
- Ccb Validate
- Ccb apply => hangs for 10 seconds then retunrs OK
- Admin owner release => return bad handle

syslogs:
Nov 13 08:50:25 SC-1 osafimmnd[1167]: NO Ccb 98 COMMITTED (OAMSA94)
Nov 13 08:50:35 SC-1 osafimmnd[1167]: WA ERR_BAD_HANDLE: Handle use is blocked 
by pending reply on syncronous call
Nov 13 08:50:35 SC-1 osafimmnd[1167]: WA IMMND - 47347719602447 Client Died
Nov 13 08:50:35 SC-1 last message repeated 35 times
Nov 13 08:50:35 SC-1 osafimmnd[1167]: WA IMMND - Client 47347719602447 went 
down on syncronous request, discarding request
Nov 13 08:50:35 SC-1 osafimmnd[1167]: WA IMMND - Client Node Get Failed for 
cli_hdl 47347719602447



---

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.
------------------------------------------------------------------------------
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=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to