Thanks for reporting this, Pedro - I'll take a look. On 18 Apr 2012, at 11:04, Pedro Ruivo wrote:
> Done. https://issues.jboss.org/browse/ISPN-1990 > > If you need more info let me know. > > Pedro > > On 4/18/12 10:26 AM, Galder Zamarreño wrote: >> Hi Pedro, >> >> Thanks for reporting this. Would you mind adding all this info into an ISPN >> jira in http://issues.jboss.org/browse/ISPN ? >> >> Thanks! :) >> >> On Apr 17, 2012, at 12:23 PM, Pedro Ruivo wrote: >> >>> Hi all, >>> >>> I think I've spotted a issue when I use repeatable read with write skew >>> check and I preload the cache. >>> >>> I've made a test case to reproduce the bug. It can be found here [1]. >>> The problem is that each keys preloaded is put in the container with >>> version = null. When I try to commit a transaction, I get this exception: >>> >>> java.lang.IllegalStateException: Entries cannot have null versions! >>> at >>> org.infinispan.container.entries.ClusteredRepeatableReadEntry.performWriteSkewCheck(ClusteredRepeatableReadEntry.java:44) >>> at >>> org.infinispan.transaction.WriteSkewHelper.performWriteSkewCheckAndReturnNewVersions(WriteSkewHelper.java:81) >>> at >>> org.infinispan.interceptors.locking.ClusteringDependentLogic$AllNodesLogic.createNewVersionsAndCheckForWriteSkews(ClusteringDependentLogic.java:133) >>> at >>> org.infinispan.interceptors.VersionedEntryWrappingInterceptor.visitPrepareCommand(VersionedEntryWrappingInterceptor.java:64) >>> >>> I think that all info is in the test case, but if you need something let >>> me know. >>> >>> Cheers, >>> Pedro >>> >>> [1] >>> https://github.com/pruivo/infinispan/blob/issue_1/core/src/test/java/org/infinispan/loaders/WriteSkewCacheLoaderFunctionalTest.java >>> _______________________________________________ >>> infinispan-dev mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/infinispan-dev >> -- >> Galder Zamarreño >> Sr. Software Engineer >> Infinispan, JBoss Cache >> >> >> _______________________________________________ >> infinispan-dev mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/infinispan-dev > _______________________________________________ > infinispan-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/infinispan-dev -- Manik Surtani [email protected] twitter.com/maniksurtani Lead, Infinispan http://www.infinispan.org _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
