[infinispan-issues] [JBoss JIRA] Issue Comment Edited: (ISPN-640) Flags are ignored if locking/creating a new key.

Trustin Lee (JIRA) jira-events at lists.jboss.org
Thu Sep 16 04:38:28 EDT 2010


    [ https://jira.jboss.org/browse/ISPN-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551217#action_12551217 ] 

Trustin Lee edited comment on ISPN-640 at 9/16/10 4:36 AM:
-----------------------------------------------------------

I tried to reproduce the problem with the attached test case, but it seems like the test always passes on my machine (both 4.2 and trunk).  Is there any configuration required additionally?

Transport protocol stack used = tcp

	Assigned count:	40000
	Lock collision count:	0
	Failed count:	0
	Illegal state detected:	false
PASSED: testonInfinispanDIST

      was (Author: trustin):
    I tried to reproduce the problem with the attached test case, but it seems like the test always passes on my machine.  Is there any configuration required additionally?

Transport protocol stack used = tcp

	Assigned count:	40000
	Lock collision count:	0
	Failed count:	0
	Illegal state detected:	false
PASSED: testonInfinispanDIST
  
> Flags are ignored if locking/creating a new key.
> ------------------------------------------------
>
>                 Key: ISPN-640
>                 URL: https://jira.jboss.org/browse/ISPN-640
>             Project: Infinispan
>          Issue Type: Bug
>            Reporter: Erik Salter
>            Assignee: Trustin Lee
>             Fix For: 4.2.0.BETA1, 4.2.0.Final
>
>         Attachments: LockPoolStressTest.java
>
>
> The Flags ZERO_LOCK_TIMEOUT and FAIL_SILENTLY have no effect in a transaction when application tries to create acquire a lock to put a new key in the system.  First, the lock acquisition takes the default time (10 seconds), and on the commit phase of the transaction, it is unable to be prepared due to the timeout exception causing a rollback.
> See the attached test case.

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

        


More information about the infinispan-issues mailing list