[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
Fri Dec 17 18:45:18 EST 2010


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

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

At work, i managed to reproduce the bug nearly on every try. At home, i manage to reproduce it nearly 1 time every 4 tries.

I noticed that you have to start the 2 programs nearly at the same time (less than 0.5 second).
At home, i must start some other programs, like music player, to slow my computer and have sufficient time to start the 2 programs.

You must see the messages "Infinispan 'Ursus' 4.2.0-SNAPSHOT" of the second node appears before all the 8 same messages of the first node are displayed.

The bug appears only when the message "AbstractLogImpl -Received new cluster view: [...] [..., ...]"appears on the first node before its last message "Infinispan 'Ursus' 4.2.0-SNAPSHOT" appears. The stack trace is not apparently the same each time, but i there is always a TimeoutException somewhere.

At work, as you can see in logs, i have 0.8 second, at home i have only 0.2 second.

First node log :
...
18-12 00:34:28,062 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,072 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,180 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,187 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,194 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,205 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,227 INFO  AbstractLogImpl -Received new cluster view: [ccc1-20189|1] [ccc1-20189, ccc1-58673]
18-12 00:34:28,275 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
...

Second node log :
...
18-12 00:34:28,252 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
18-12 00:34:28,262 INFO  AbstractComponentRegistry -Infinispan version: Infinispan 'Ursus' 4.2.0-SNAPSHOT
...



> 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