You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by md...@apache.org on 2014/02/27 11:25:20 UTC

svn commit: r1572501 - /jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md

Author: mduerig
Date: Thu Feb 27 10:25:19 2014
New Revision: 1572501

URL: http://svn.apache.org/r1572501
Log:
OAK-1459: Many extra events are dispatched from a move event
Improve documentation

Modified:
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md?rev=1572501&r1=1572500&r2=1572501&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/differences.md Thu Feb 27 10:25:19 2014
@@ -155,8 +155,33 @@ Observation
   See [OAK-1290](https://issues.apache.org/jira/browse/OAK-1290) and
   [JSR_333-74](https://java.net/jira/browse/JSR_333-74) for further information.
 
-* See [OAK-1459](https://issues.apache.org/jira/browse/OAK-1459) for a comparison
-  of events being generated on Jackrabbit 2 vs. on Oak.
+* See [OAK-1459](https://issues.apache.org/jira/browse/OAK-1459) introduced some differences
+  in what events are dispatch for bulk operations (moving and deleting sub-trees):
+
+<table>
+<tr>
+<th>Operation</th>
+<th>Jackrabbit 2</th>
+<th>Oak</th>
+</tr>
+<tr>
+<td>add sub-tree</td>
+<td>NODE_ADDED event for every node in the sub-tree</td>
+<td>NODE_ADDED event for every node in the sub-tree</td>
+</tr>
+<tr>
+<td>remove sub-tree</td>
+<td>NODE_REMOVED event for every node in the sub-tree</td>
+<td>NODE_REMOVED event for the root of the sub-tree only</td>
+</tr>
+<tr>
+<td>move sub-tree</td>
+<td>NODE_MOVED event, NODE_ADDED event for the root of the sub-tree only,
+    NODE_REMOVED event for every node in the sub-tree</td>
+<td>NODE_MOVED event, NODE_ADDED event for the root of the sub-tree only,
+    NODE_REMOVED event for the root of the sub-tree only</td>
+</tr>
+</table>
 
 Binary streams
 --------------