[jbosscache-dev] Notifications during state transfer WAS: [JBossCache] - Replication and notifications

Manik Surtani manik at jboss.org
Tue Nov 13 10:19:14 EST 2007


Oh no, nothing wrong with the interceptor chain bit (at least not in  
this context), I believe Brian's question was why Node Modified  
notifications were excluded from state transfers.


On 13 Nov 2007, at 15:15, Vladimir Blagojevic wrote:

> There was a reason we did not go through interceptor chain; I  
> remember it well; but what it was - kill me - I cannot recall.
>
> Brian Stansberry wrote:
>> State transfer doesn't go through the interceptor chain when it  
>> creates nodes; it just builds up a tree.  IIRC we decided to  
>> specifically code in a Node Created notification; perhaps we just  
>> didn't think about Node Modified?  Vladimir, your memory any better?
>>
>> Manik Surtani wrote:
>>> Not sure if this is a feature or a bug.  Brian/Vladimir, do you  
>>> recall whether Node Modified notifications were specifically  
>>> suppressed during state transfer, and if so, why?
>>>
>>> Cheers
>>> Manik
>>>
>>> Begin forwarded message:
>>>
>>>> From: aditsu <do-not-reply at jboss.com>
>>>> Date: 13 November 2007 09:14:11 GMT
>>>> To: manik.surtani at jboss.com
>>>> Subject: [JBossCache] - Replication and notifications
>>>>
>>>> Hi, I'm using JBC 2.0.0.GA (core)
>>>> I set up 2 caches with REPL_SYNC and memory state fetching, and I  
>>>> added a listener to the 2nd cache before starting it.
>>>> It looks like when fetching the memory state, the cache only  
>>>> fires NODE_CREATED notifications, which contain no data. However,  
>>>> when I put a new node afterwards, in either cache instance, I get  
>>>> a NODE_CREATED followed by a NODE_MODIFIED with the node data map.
>>>> Is there a way to get the data while it is being fetched from a  
>>>> replicated cache?
>>>>
>>>> Thanks
>>>> Adrian
>>>>
>>>> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103974#4103974
>>>>
>>>> Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103974
>>>
>>> -- 
>>> Manik Surtani
>>> Lead, JBoss Cache
>>> manik at jboss.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> jbosscache-dev mailing list
>>> jbosscache-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
>>
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev

--
Manik Surtani
Lead, JBoss Cache
manik at jboss.org









More information about the jbosscache-dev mailing list