[infinispan-dev] Error parsing Recovery

Mircea Markus mmarkus at redhat.com
Wed May 8 08:47:23 EDT 2013


On 8 May 2013, at 13:37, Pedro Ruivo wrote:

> Hi guys,
> 
> Is there any reason to enable the recovery when we pick from 
> TransactionConfigurationBuilder?
> 
> public RecoveryConfigurationBuilder recovery() {
>   recovery.enable();
>   return recovery;
> }
the method documents that as the the behaviour, can't remember the logic behind it.
> 
> This will enable the Recovery in configurations like this:
> 
> <namedCache name="noRecovery">
>   <transaction (...) transactionMode="NON_TRANSACTIONAL">
>     <recovery enabled="false" recoveryInfoCacheName="someName"/>
>   </transaction>
> </namedCache>
> 
> leading the RecoveryConfigTest to fail.

This should result in a cache with recovery disabled so it is a bug. Please file a JIRA.

> 
> ps. I detected this when working on 
> https://issues.jboss.org/browse/ISPN-3063.
> 
> Cheers,
> Pedro
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list