[infinispan-dev] [ISPN-116] Async cache store: aggregation of multiple changes on a single key

Manik Surtani manik at jboss.org
Tue Aug 4 06:05:52 EDT 2009


On 4 Aug 2009, at 10:26, Galder Zamarreno wrote:

>
>
> On 08/04/2009 09:56 AM, Galder Zamarreno wrote:
>> Hi Amin,
>>
>
> </snip>
>
>>> 2. Using xml config, no storeLockSafe is called at all?
>
> That's because you have singleton store enabled but the cache is not
> configured with correctly to form a cluster. Either: set transport  
> class
> correctly like this:
>
>         <transport clusterName="SmppGatewayCluster"
> transportClass 
> ="org.infinispan.remoting.transport.jgroups.JGroupsTransport"/>
>
> or disable singleton store:
>
>                 <singletonStore enabled="false"
> pushStateWhenCoordinator="true" pushStateTimeout="20000"/>
>
> Note that enabling singleton store only makes sense when there's a
> cluster. I'll add a JIRA so that even if there isn't a cluster, having
> singleton store enabled does not stop you from storing stuff to  
> cache store.

Should you not throw a ConfigurationException at this stage?

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list