jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Detecting move operations in node state diffs
Date Mon, 21 Oct 2013 18:23:07 GMT

On 21.10.13 7:18 , Tobias Bocanegra wrote:
> On Mon, Oct 21, 2013 at 7:31 AM, Thomas Mueller<mueller@adobe.com>  wrote:
>> >Hi,
>> >
>>> >>extra pass
>> >
>> >On how to avoid this extra pass. Not strictly backward compatible, but I
>> >wonder how much it would break: what if observation would deliver two
>> >events for moved nodes: the "node moved" event (added at the target), plus
>> >the "node deleted" event (deleted at the source)? The one use case I know
>> >about, data store garbage collection in Jackrabbit core, would be OK with
>> >this behavior.
> IIRC, in JR2 a moved node triggers 3 events: node added, node deleted
> and node moved. but maybe I'm wrong, but I thought we kept this for
> backward compatibility.

Thanks for the heads up. Will double check. This would in fact simplify 
event generation in the observation code.


View raw message