On Friday Alesj tried latest code from master and it worked fine for him.

Let's discuss later today about alpha1 release.

Cheers,

p.s. I investigated https://issues.jboss.org/browse/ISPN-1990 and it's 
incomplete until either we allow external versions to be set via Cache, or 
CacheManagerImpl.preload() stores versions read from the cache store in some 
other way in the cache. The former will be allowed once ISPN-2281 is in.

On Mar 21, 2013, at 2:41 PM, Ales Justin <[email protected]> wrote:

> Yes, but I do not pre-load:
> * 
> https://github.com/capedwarf/capedwarf-jboss-as/blob/master/build/src/main/resources/standalone/configuration/standalone-capedwarf.xml#L216
> 
> (note: that ASYNC is used as template, if metadata feature is enabled, cache 
> is actually SYNC)
> 
> Perhaps for tmp workaround - in our case, as we also store version info on 
> the data itself,
> can I somehow override (add custom behaviour) to loading from store?
> 
> -Ales
> 
> On Mar 20, 2013, at 3:59 PM, Mircea Markus <[email protected]> wrote:
> 
>> are you using a cache store? https://issues.jboss.org/browse/ISPN-1990
>> 
>> On 20 Mar 2013, at 00:15, Ales Justin wrote:
>> 
>>> Any idea how this can happen?
>>> 
>>> 01:06:36,722 ERROR 
>>> [org.infinispan.interceptors.InvocationContextInterceptor] 
>>> (http-/127.0.0.1:8080-2) ISPN000136: Execution error: 
>>> java.lang.IllegalStateException: Entries cannot have null versions!
>>>     at 
>>> org.infinispan.container.entries.ClusteredRepeatableReadEntry.performWriteSkewCheck(ClusteredRepeatableReadEntry.java:59)
>>>  [infinispan-core-5.2.1.Final.jar:5.2.1.Final]
>>>     at 
>>> org.infinispan.transaction.WriteSkewHelper.performWriteSkewCheckAndReturnNewVersions(WriteSkewHelper.java:89)
>>>  [infinispan-core-5.2.1.Final.jar:5.2.1.Final]
>>>     at 
>>> org.infinispan.interceptors.locking.ClusteringDependentLogic$DistributionLogic.createNewVersionsAndCheckForWriteSkews(ClusteringDependentLogic.java:291)
>>>  [infinispan-core-5.2.1.Final.jar:5.2.1.Final]
>>>     at 
>>> org.infinispan.interceptors.VersionedEntryWrappingInterceptor.visitPrepareCommand(VersionedEntryWrappingInterceptor.java:65)
>>>  [infinispan-core-5.2.1.Final.jar:5.2.1.Final]
>>> 
>>> ---
>>> 
>>> I'm adding my own interceptor here:
>>> 
>>> * 
>>> https://github.com/capedwarf/capedwarf-blue/blob/master/datastore/src/main/java/org/jboss/capedwarf/datastore/metadata/VersioningInterceptor.java
>>> 
>>> just before VersionedEntryWrappingInterceptor.
>>> 
>>> -Ales
>>> 
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> [email protected]
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
>> Cheers,
>> -- 
>> Mircea Markus
>> Infinispan lead (www.infinispan.org)
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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


--
Galder Zamarreño
[email protected]
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org


_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to