jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: [jr3 microkernel] Write skew
Date Wed, 30 Nov 2011 13:27:49 GMT
Hi,

Am 30.11.2011 um 14:20 schrieb Michael Dürig:

> 
> On 30.11.11 13:07, Felix Meschberger wrote:
>> Say, s1 listens on changes to node x, s2 updates node x and on receiving the event
s1 would access the new property. What happens ?
> 
> That's a different story for a different thread ;-) In a nutshell: under 
> snapshot isolation sessions will see ADD events for items which do not 
> exist for them. OTHO when they get an DELETE event the item will still 
> exist for them. Note how this is reverse from the situation in JR2.

Hmm, this will probably effectively break many if not most current ObservationListener implementations.
Good to know.

Still what could listeners possibly do here ? Sesssion.refresh ? Or create a short-lived session
to handle the event ?

Regards
Felix


Mime
View raw message