[infinispan-dev] x-site configuration: do we really need backupFor element?

Galder Zamarreño galder at redhat.com
Mon Sep 24 11:09:40 EDT 2012


On Sep 20, 2012, at 1:40 PM, Mircea Markus <mircea.markus at jboss.com> wrote:

> 
> On 20 Sep 2012, at 11:02, Galder Zamarreño wrote:
> 
>> Why do you need the backupFor element? I mean, take this example:
>> https://gist.github.com/3754542
>> 
>> Wouldn't it be much simpler to merge both backup and backupFor elements? i.e.
>> https://gist.github.com/3754550
>> 
>> For starters, I don't have to type LON twice :)
> I'd rather configure the name of the backup cache in its own site: e.g. if the backup for "users"@LON was "c1 at NYC"

^ In the current config, assuming this is the config in LON, it'd be something like this, right? https://gist.github.com/3776426

> and now we want to change it to "c2"@NYC I'd rather not have to change configs in LON but only in NYC.

Well, as far as I understand, even in your current configuration you have to do so:
https://gist.github.com/3776440

So, I don't understand your point :( - can you provide some tangible XML examples of what you mean?

> 
>> WDYT
>> --
>> Galder Zamarreño
>> galder at redhat.com
>> twitter.com/galderz
>> 
>> Project Lead, Escalante
>> http://escalante.io
>> 
>> Engineer, Infinispan
>> http://infinispan.org
>> 
>> 
>> _______________________________________________
>> 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)
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz

Project Lead, Escalante
http://escalante.io

Engineer, Infinispan
http://infinispan.org




More information about the infinispan-dev mailing list