LockNotPendingError: Attempt to reject a lock request that isn't pending
------------------------------------------------------------------------

                 Key: CDV-797
                 URL: https://jira.terracotta.org/jira//browse/CDV-797
             Project: Community Development
          Issue Type: Bug
          Components: DSO:L1
    Affects Versions: 2.6.1
            Reporter: Tim Eck
            Assignee: Issue Review Board


MultiNodeInvalidatorTest fails fairly regularly because the L1s exit with this 
assertion error

com.tc.object.lockmanager.api.LockNotPendingError: Attempt to reject a lock 
request that isn't pending: lockID: 
LockID(D540816D200CA69D05EEA7C8750978970808F6A9D90AA0B12625), level: 2, 
requesterID: ThreadID=[7], waitLocksByRequesterID: {}
            at 
com.tc.object.lockmanager.impl.ClientLock.cannotAwardLock(ClientLock.java:466)
            at 
com.tc.object.lockmanager.impl.ClientLockManagerImpl.cannotAwardLock(ClientLockManagerImpl.java:483)
            at 
com.tc.object.handler.LockResponseHandler.handleEvent(LockResponseHandler.java:43)
            at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:142)

I'm almost certain this problem has something to do with the tryLock() APIs.  
TC sessions makes pretty heavy use of this API, and anyone who uses tryLock() 
on ReentrantLock and/or ReentrantReadWriteLock() could be affected by this bug


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to