jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1527967 - /jackrabbit/site/live/oak/docs/
Date Tue, 01 Oct 2013 08:17:23 GMT
Author: mduerig
Date: Tue Oct  1 08:17:22 2013
New Revision: 1527967

URL: http://svn.apache.org/r1527967
Log:
OAK-936: Site checkin for project Oak Documentation-0.10-SNAPSHOT

Modified:
    jackrabbit/site/live/oak/docs/blobstore.html
    jackrabbit/site/live/oak/docs/construct.html
    jackrabbit/site/live/oak/docs/dev_getting_started.html
    jackrabbit/site/live/oak/docs/differences.html
    jackrabbit/site/live/oak/docs/dos_and_donts.html
    jackrabbit/site/live/oak/docs/downloads.html
    jackrabbit/site/live/oak/docs/from_here.html
    jackrabbit/site/live/oak/docs/index.html
    jackrabbit/site/live/oak/docs/jsop-diff.html
    jackrabbit/site/live/oak/docs/license.html
    jackrabbit/site/live/oak/docs/microkernel.html
    jackrabbit/site/live/oak/docs/mongomk.html
    jackrabbit/site/live/oak/docs/nodestate.html
    jackrabbit/site/live/oak/docs/overview.html
    jackrabbit/site/live/oak/docs/participating.html
    jackrabbit/site/live/oak/docs/query.html
    jackrabbit/site/live/oak/docs/segmentmk.html
    jackrabbit/site/live/oak/docs/use_getting_started.html
    jackrabbit/site/live/oak/docs/when_things_go_wrong.html

Modified: jackrabbit/site/live/oak/docs/blobstore.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/blobstore.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/blobstore.html (original)
+++ jackrabbit/site/live/oak/docs/blobstore.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/construct.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/construct.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/construct.html (original)
+++ jackrabbit/site/live/oak/docs/construct.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/dev_getting_started.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/dev_getting_started.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/dev_getting_started.html (original)
+++ jackrabbit/site/live/oak/docs/dev_getting_started.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/differences.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/differences.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/differences.html (original)
+++ jackrabbit/site/live/oak/docs/differences.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 
@@ -426,16 +426,6 @@
 
 <ul>
   
-<li>Nodetype Management:
-  
-<ul>
-    
-<li>Removing mixins is not implemented yet  See <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-767">OAK-767</a></li>
-  </ul></li>
-</ul>
-
-<ul>
-  
 <li>Versioning <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-168">OAK-168</a>:
   
 <ul>

Modified: jackrabbit/site/live/oak/docs/dos_and_donts.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/dos_and_donts.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/dos_and_donts.html (original)
+++ jackrabbit/site/live/oak/docs/dos_and_donts.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/downloads.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/downloads.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/downloads.html (original)
+++ jackrabbit/site/live/oak/docs/downloads.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/from_here.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/from_here.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/from_here.html (original)
+++ jackrabbit/site/live/oak/docs/from_here.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/index.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/index.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/index.html (original)
+++ jackrabbit/site/live/oak/docs/index.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/jsop-diff.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/jsop-diff.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/jsop-diff.html (original)
+++ jackrabbit/site/live/oak/docs/jsop-diff.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/license.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/license.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/license.html (original)
+++ jackrabbit/site/live/oak/docs/license.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/microkernel.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/microkernel.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/microkernel.html (original)
+++ jackrabbit/site/live/oak/docs/microkernel.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/mongomk.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/mongomk.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/mongomk.html (original)
+++ jackrabbit/site/live/oak/docs/mongomk.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 
@@ -341,7 +341,7 @@
 <p>This module contains a <tt>MicroKernel</tt> implementation using MongoDB
to persist content.</p>
 <div class="section">
 <h2>Content Model<a name="Content_Model"></a></h2>
-<p>The <tt>MongoMK</tt> stores each node in a separate MongoDB document
and updates to a node are stored by adding new revision/value pairs to the document. This
way the previous state of a node is preserved and can still be retrieved by a session looking
a given snapshot (revision) of the repository.</p>
+<p>The <tt>MongoMK</tt> stores each node in a separate MongoDB document
and updates to a node are stored by adding new revision/value pairs to the document. This
way the previous state of a node is preserved and can still be retrieved by a session looking
at a given snapshot (revision) of the repository.</p>
 <p>The basic MongoDB document of a node in Oak looks like this:</p>
 
 <div class="source">
@@ -351,24 +351,22 @@
         &quot;r13f3875b5d1-0-1&quot; : &quot;false&quot;
     },
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13f3875b5d1-0-1&quot;
-    },
-    &quot;_commitRoot&quot;: {
-        &quot;r13f3875b5d1-0-1&quot;: 0
+        &quot;r0-0-1&quot; : &quot;r13f3875b5d1-0-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274208361),
+    &quot;_modCount&quot; : NumberLong(1),
     &quot;_revisions&quot; : {
         &quot;r13f3875b5d1-0-1&quot; : &quot;c&quot;
     }
 }
 </pre></div>
-<p>All fields in the above document are metadata and are not exposed through the Oak
API.</p>
+<p>All fields in the above document are metadata and are not exposed through the Oak
API. MongoMK has two types of fields. Simple fields are key/value pairs like the <tt>_id</tt>
or <tt>_modified</tt> field. Versioned fields are kept in sub-documents where
the key is a revision paired with the value at this revision.</p>
 <p>The <tt>_id</tt> field is used as the primary key and consists of a
combination of the depth of the path and the path itself. This is an optimization to align
sibling keys in the index.</p>
 <p>The <tt>_deleted</tt> sub-document contains the revision this node was
created in. In the above example the root node was created in revision <tt>r13f3875b5d1-0-1</tt>.
If the node is later deleted, the <tt>_deleted</tt> sub-document will get a new
field with the revision the node was deleted in.</p>
-<p>The sub-document <tt>_lastRev</tt> contains the last revision written
to this node by each cluster node. In the above example the MongoMK cluster node with id <tt>1</tt>
modified the node the last time in revision <tt>r13f3875b5d1-0-1</tt>, when it
created the node. These revisions are only updated for non-branch commits.</p>
-<p>The <tt>_modified</tt> field contains a low-resolution timestamp when
the node was last modified. The time resolution is five seconds. This field is also updated
when a branch commit modifies a node.</p>
-<p>The sub-document <tt>_commitRoot</tt> contains commit root depth for
the commit in which the node was created against the revision.</p>
-<p>Finally, the <tt>_revisions</tt> sub-document contains commit information
about changes marked with a revision. E.g. the single entry in the above document tells us
that everything marked with revision <tt>r13f3875b5d1-0-1</tt> is committed and
therefore valid. In case the change is done in a branch then the value would be the base revision.
It is only added for those nodes which happen to be the commit root for any give commit.</p>
+<p>The sub-document <tt>_lastRev</tt> contains the last revision written
to this node by each cluster node. In the above example the MongoMK cluster node with id <tt>1</tt>
modified the node the last time in revision <tt>r13f3875b5d1-0-1</tt>, when it
created the node. The revision key in the <tt>_lastRev</tt> sub-document is synthetic
and the only information actually used by MongoMK is the clusterId. The <tt>_lastRev</tt>
sub-document is only updated for non-branch commits or on merge, when changes become visible
to all readers.</p>
+<p>The <tt>_modified</tt> field contains an indexed low-resolution timestamp
when the node was last modified. The time resolution is five seconds. This field is also updated
when a branch commit modifies a node.</p>
+<p>The <tt>_modCount</tt> field contains a modification counter, which
is incremented with every change to the document. This field allows MongoMK to perform conditional
updates without requesting the whole document.</p>
+<p>Finally, the <tt>_revisions</tt> sub-document contains commit information
about changes marked with a revision. E.g. the single entry in the above document tells us
that everything marked with revision <tt>r13f3875b5d1-0-1</tt> is committed and
therefore valid. In case the change is done in a branch then the value would be the base revision.
It is only added for those nodes which happen to be the commit root for any given commit.</p>
 <p>Adding a property <tt>prop</tt> with value <tt>foo</tt>
to the node in a next step will result in the following document:</p>
 
 <div class="source">
@@ -378,9 +376,10 @@
     },
     &quot;_id&quot; : &quot;1:/node&quot;,
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13f38818ab6-0-1&quot;
+        &quot;r0-0-1&quot; : &quot;r13f38818ab6-0-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274208516),
+    &quot;_modCount&quot; : NumberLong(2),
     &quot;_revisions&quot; : {
         &quot;r13f3875b5d1-0-1&quot; : &quot;c&quot;,
         &quot;r13f38818ab6-0-1&quot; : &quot;c&quot;
@@ -401,9 +400,10 @@
     },
     &quot;_id&quot; : &quot;1:/node&quot;,
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13f38835063-2-1&quot;
+        &quot;r0-0-1&quot; : &quot;r13f38835063-2-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274208539),
+    &quot;_modCount&quot; : NumberLong(3),
     &quot;_revisions&quot; : {
         &quot;r13f3875b5d1-0-1&quot; : &quot;c&quot;,
         &quot;r13f38818ab6-0-1&quot; : &quot;c&quot;,
@@ -440,9 +440,10 @@
     },
     &quot;_id&quot; : &quot;0:/&quot;,
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13fcda91720-0-1&quot;
+        &quot;r0-0-1&quot; : &quot;r13fcda91720-0-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274708995),
+    &quot;_modCount&quot; : NumberLong(2),
     &quot;_revisions&quot; : {
         &quot;r13fcda88ac0-0-1&quot; : &quot;c&quot;,
         &quot;r13fcda91720-0-1&quot; : &quot;c&quot;
@@ -461,9 +462,10 @@
     },
     &quot;_id&quot; : &quot;0:/&quot;,
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13fcda91720-0-1&quot;
+        &quot;r0-0-1&quot; : &quot;r13fcda91720-0-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274708995),
+    &quot;_modCount&quot; : NumberLong(3),
     &quot;_revisions&quot; : {
         &quot;r13fcda88ac0-0-1&quot; : &quot;c&quot;,
         &quot;r13fcda91720-0-1&quot; : &quot;c&quot;,
@@ -485,9 +487,10 @@
     },
     &quot;_id&quot; : &quot;0:/&quot;,
     &quot;_lastRev&quot; : {
-        &quot;1&quot; : &quot;r13fcda91b12-0-1&quot;
+        &quot;r0-0-1&quot; : &quot;r13fcda91b12-0-1&quot;
     },
     &quot;_modified&quot; : NumberLong(274708995),
+    &quot;_modCount&quot; : NumberLong(4),
     &quot;_revisions&quot; : {
         &quot;r13fcda88ac0-0-1&quot; : &quot;c&quot;,
         &quot;r13fcda91720-0-1&quot; : &quot;c&quot;,
@@ -502,15 +505,69 @@
 <p>Now, the changed property is visible to readers with a revision equal or newer than
<tt>r13fcda91b12-0-1</tt>.</p>
 <p>The same logic is used for changes to other nodes that belong to a branch commit.
MongoMK internally resolves the commit revision for a modification before it decides whether
a reader is able to see a given change.</p></div>
 <div class="section">
+<h2>Previous Documents<a name="Previous_Documents"></a></h2>
+<p>Over time the size of a document grows because MongoMK adds data to the document
with every modification, but never deletes anything to keep the history. Old data is moved
when there are 1000 commits to be moved or the document is bigger than 1 MB. A document with
a reference to old data looks like this:</p>
+
+<div class="source">
+<pre>{
+    &quot;_deleted&quot; : {
+        &quot;r13fcda88ac0-0-1&quot; : &quot;false&quot;,
+    },
+    &quot;_id&quot; : &quot;0:/&quot;,
+    &quot;_lastRev&quot; : {
+        &quot;r0-0-1&quot; : &quot;r13fcda91b12-0-1&quot;
+    },
+    &quot;_modified&quot; : NumberLong(274708995),
+    &quot;_modCount&quot; : NumberLong(1004),
+    &quot;_revisions&quot; : {
+        &quot;r13fcda88ac0-0-1&quot; : &quot;c&quot;,
+        &quot;r13fcda91720-0-1&quot; : &quot;c&quot;,
+       &quot;r13fcda919eb-0-1&quot; : &quot;c-r13fcda91b12-0-1&quot;
+    },
+    &quot;_prev&quot; : {
+        &quot;r13fcda88ae0-0-1&quot; : &quot;r13fcda91710-0-1&quot;
+    },
+    &quot;prop&quot; : {
+        &quot;r13fcda91720-0-1&quot; : &quot;\&quot;foo\&quot;&quot;,
+       &quot;r13fcda919eb-0-1&quot; : &quot;\&quot;bar\&quot;&quot;,
+    }
+}
+</pre></div>
+<p>The optional sub-document <tt>_prev</tt> contains a list of revision
pairs, each indicating the range of commit revisions a previous document contains. In the
above example there is one document with previous commits from <tt>r13fcda88ae0-0-1</tt>
to <tt>r13fcda91710-0-1</tt>. The id of the previous document is derived from
the upper bound of the range and the id/path of the current document. The id of the previous
document for <tt>r13fcda88ae0-0-1</tt> and <tt>0:/</tt> is <tt>1:p/r13fcda88ae0-0-1</tt>
and may looks like this:</p>
+
+<div class="source">
+<pre>{
+    &quot;_id&quot; : &quot;1:p/r13fcda88ae0-0-1&quot;,
+    &quot;_modCount&quot; : NumberLong(1),
+    &quot;_revisions&quot; : {
+        &quot;r13fcda88ae0-0-1&quot; : &quot;c&quot;,
+        &quot;r13fcda88af0-0-1&quot; : &quot;c&quot;,
+        ...  
+       &quot;r13fcda91710-0-1&quot; : &quot;c&quot;
+    },
+    &quot;prop&quot; : {
+        &quot;r13fcda88ae0-0-1&quot; : &quot;\&quot;foo\&quot;&quot;,
+        &quot;r13fcda88af0-0-1&quot; : &quot;\&quot;bar\&quot;&quot;,
+        ...
+       &quot;r13fcda91710-0-1&quot; : &quot;\&quot;baz\&quot;&quot;
+    }
+}
+</pre></div>
+<p>Previous documents only contain immutable data, which means it only contains committed
and merged <tt>_revisions</tt>. This also means the previous ranges of committed
data may overlap because branch commits are not moved to previous documents until the branch
is merged.</p></div>
+<div class="section">
 <h2>Background Operations<a name="Background_Operations"></a></h2>
 <p>Each MongoMK instance connecting to same database in Mongo server performs certain
background task.</p>
 <div class="section">
 <h3>Renew Cluster Id Lease<a name="Renew_Cluster_Id_Lease"></a></h3></div>
 <div class="section">
+<h3>Background Document Split<a name="Background_Document_Split"></a></h3>
+<p>MongoMK periodically checks documents for their size and if necessary splits them
up and moves old data to a previous document. This is done in the background by each MongoMK
instance for the data it created.</p></div>
+<div class="section">
 <h3>Background Writes<a name="Background_Writes"></a></h3>
-<p>While performing commits there are certain nodes which are modified but do not become
part of commit. For example when a node under /a/b/c is updated then the <tt>_lastRev</tt>
property also needs to be updated to the commit revision. Such changes are accumulated and
flushed periodically through a asynchronous job.</p></div>
+<p>While performing commits there are certain nodes which are modified but do not become
part of commit. For example when a node under /a/b/c is updated then the <tt>_lastRev</tt>
property of all ancestors also need to be updated to the commit revision. Such changes are
accumulated and flushed periodically through a asynchronous job.</p></div>
 <div class="section">
-<h3>Background Reads<a name="Background_Reads"></a></h3></div></div>
+<h3>Background Reads<a name="Background_Reads"></a></h3>
+<p>MongoMK periodically picks up changes from other MongoMK instances by polling the
root node for changes of <tt>_lastRev</tt>. This happens once every second.</p></div></div>
 <div class="section">
 <h2>Pending Topics<a name="Pending_Topics"></a></h2>
 <div class="section">

Modified: jackrabbit/site/live/oak/docs/nodestate.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestate.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestate.html (original)
+++ jackrabbit/site/live/oak/docs/nodestate.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/overview.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/overview.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/overview.html (original)
+++ jackrabbit/site/live/oak/docs/overview.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/participating.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/participating.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/participating.html (original)
+++ jackrabbit/site/live/oak/docs/participating.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/query.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query.html (original)
+++ jackrabbit/site/live/oak/docs/query.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/segmentmk.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/segmentmk.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/segmentmk.html (original)
+++ jackrabbit/site/live/oak/docs/segmentmk.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/use_getting_started.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/use_getting_started.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/use_getting_started.html (original)
+++ jackrabbit/site/live/oak/docs/use_getting_started.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/when_things_go_wrong.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/when_things_go_wrong.html?rev=1527967&r1=1527966&r2=1527967&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/when_things_go_wrong.html (original)
+++ jackrabbit/site/live/oak/docs/when_things_go_wrong.html Tue Oct  1 08:17:22 2013
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2013-09-23
+ | Generated by Apache Maven Doxia at 2013-10-01
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20130923" />
+    <meta name="Date-Revision-yyyymmdd" content="20131001" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -151,7 +151,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2013-09-23</li>
+                  <li id="publishDate">Last Published: 2013-10-01</li>
                   <li class="divider">|</li> <li id="projectVersion">Version:
0.10-SNAPSHOT</li>
                       
                 



Mime
View raw message