[infinispan-issues] [JBoss JIRA] Commented: (ISPN-832) TimeoutException with 2 or more nodes when there are Entity inserts, updates or removes.

Cyrille Charron (JIRA) jira-events at lists.jboss.org
Wed Dec 15 09:17:17 EST 2010


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

Cyrille Charron commented on ISPN-832:
--------------------------------------

Right. I have no more lock timeout when disabling query cache.
But we need it. So i'am impatient you find the root cause :-)

By the way, i have a surprising behaviour which may help you in finding the root cause.
When i disable the following "transactional" parameters or the following "region cache name" parameters in my persistence.xml file, read entity performances are roughly 10 times worse.

"transactional" parameters :
            <property name="hibernate.ejb.classcache.infiniSpanTest.Family" value="transactional" />
            <property name="hibernate.ejb.classcache.infiniSpanTest.Person" value="transactional" />
            <property name="hibernate.ejb.classcache.infiniSpanTest.Address" value="transactional" />
            <property name="hibernate.ejb.collectioncache.infiniSpanTest.Family.members" value="transactional" />
            <property name="hibernate.ejb.collectioncache.infiniSpanTest.Address.inhabitants" value="transactional" />

"region cache name" parameters :
            <property name="hibernate.cache.infinispan.infiniSpanTest.Family.cfg" value="family-entity"/>
            <property name="hibernate.cache.infinispan.infiniSpanTest.Person.cfg" value="person-entity"/>
            <property name="hibernate.cache.infinispan.infiniSpanTest.Address.cfg" value="address-entity"/>
            <property name="hibernate.cache.infinispan.infiniSpanTest.Family.members.cfg" value="members-collection"/>
            <property name="hibernate.cache.infinispan.infiniSpanTest.Address.inhabitants.cfg" value="inhabitants-collection"/>


> TimeoutException with 2 or more nodes when there are Entity inserts, updates or removes.
> ----------------------------------------------------------------------------------------
>
>                 Key: ISPN-832
>                 URL: https://issues.jboss.org/browse/ISPN-832
>             Project: Infinispan
>          Issue Type: Bug
>          Components: State transfer
>    Affects Versions: 4.2.0.CR3
>         Environment: Windows XP + Hibernate 3.6.1-SNAPSHOT + OpenEjb 3.2-SNAPSHOT
>            Reporter: Cyrille Charron
>            Assignee: Galder Zamarreño
>         Attachments: InfiniSpanTest.zip
>
>
> Hello,
> I have some difficulties to run more than one Node 
> with Infinispan as a JPA Level2 cache (default configuration)
> with Hibernate as JPA provider and 
> with OpenEjb as JEE container.
> There are a lot of Locks between Nodes when I try to insert entities,
> even if each Node insert entities with a unique ID.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list