[infinispan-dev] Starting caches in parallel

Sanne Grinovero sanne at infinispan.org
Thu Aug 4 11:24:18 EDT 2011


2011/8/4 Galder Zamarreño <galder at redhat.com>:
>
> On Aug 4, 2011, at 5:06 PM, Sanne Grinovero wrote:
>
>>> Hmmmm, not sure about the warn message. Surely a no-op and if it's no-op from the 2nd time onwards, what's the warning about?
>>
>> My reasoning is that if you're starting caches multiple times, then
>> you're likely expecting Infinispan to support asymmetric clusters.
>
> Hmmmmmmm, I see what you mean but I think this needs further baking. You're implying that if you do the following, "manik" cache could be started a different time:
>
> cacheContainer.startCaches("galder", "sanne") -> starts galder and sanne
> cacheContainer.startCaches("galder", "sanne") -> does nothing, why warn?
> cacheContainer.startCaches("galder", "sanne", "manik") -> starts manik - yeah could be seen as asymmetric clusters - maybe this one should show a warning saying that "manik" was started at a different time to the other caches, and point to the docu...

+1
you could check for that, even better user experience.



More information about the infinispan-dev mailing list