- **status**: unassigned --> accepted
- **assigned_to**: Alex Jones
- **Blocker**: --> False
---
** [tickets:#2070] LCK : IMM attrib update issues for LCK application objects.**
**Status:** accepted
**Milestone:** future
**Created:** Tue Sep 27, 2016 07:12 AM UTC by Srikanth R
**Last Updated:** Tue Sep 27, 2016 07:12 AM UTC
**Owner:** Alex Jones
Following are the two scenarios, in which IMM attributes for a LCK object are
not properly updated.
SCENARIO - 1 :
-> Invoke saLckInitialize
-> Invoke saLckResourceOpen with SA_LCK_RESOURCE_CREATE flag for the resource
"resource1_101".
-> Invoke saLckResourceOpenAsync with SA_LCK_RESOURCE_CREATE flag for the
earlier resource
-> Invoke saLckResourceLock with SA_LCK_LOCK_ORPHAN flag in PR mode.
-> Invoke saLckResourceLock with SA_LCK_LOCK_ORPHAN flag in PR mode.
-> Invoke saLckFinalize.
Now that agent invoked Finalize, the stripped count should be zero for the LCK
object "safLock=resource1_101". But the saLckResourceStrippedCount value is 2,
SCENARIO - 2 :
On node 1 :
->Invoke saLckInitialize.
-> Invoke saLckResourceOpen with SA_LCK_RESOURCE_CREATE flag
On node 2 :
-> Invoke saLckInitialize.
-> Invoke saLckResourceOpen for the same resource as on node1.
-> Invoke saLckResourceLock in PR mode.
-> Invoke saLckResourceLock with SA_LCK_LOCK_ORPHAN flag.
-> Invoke saLckFinalize.
Now on Node 1, if the saLckResourceNumOpeners attribute is retrieved for the
resource where the application is still running then the expected value is 1.
But 0 is being populated.
And the saLckResourceIsOrphaned. attribute value is expected to be 1, but it is
set to 0.
---
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets