jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1765454 [1/4] - in /jackrabbit/site/live/oak/docs: ./ architecture/ coldstandby/ features/ nodestore/ nodestore/segment/ oak-mongo-js/ oak-mongo-js/scripts/ oak-mongo-js/scripts/prettify/ oak-mongo-js/styles/ oak_api/ plugins/ query/ secur...
Date Tue, 18 Oct 2016 15:01:05 GMT
Author: mreutegg
Date: Tue Oct 18 15:01:04 2016
New Revision: 1765454

URL: http://svn.apache.org/viewvc?rev=1765454&view=rev
Log:
OAK-936: Site checkin for project Oak Documentation-1.6-SNAPSHOT

Added:
    jackrabbit/site/live/oak/docs/oak-mongo-js/
    jackrabbit/site/live/oak/docs/oak-mongo-js/index.html   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/oak.html   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/linenumber.js   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/prettify/
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/prettify/Apache-License-2.0.txt   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/prettify/lang-css.js   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/scripts/prettify/prettify.js   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/styles/
    jackrabbit/site/live/oak/docs/oak-mongo-js/styles/jsdoc-default.css   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/styles/prettify-jsdoc.css   (with props)
    jackrabbit/site/live/oak/docs/oak-mongo-js/styles/prettify-tomorrow.css   (with props)
Removed:
    jackrabbit/site/live/oak/docs/.DS_Store
    jackrabbit/site/live/oak/docs/security/accesscontrol/cug.html
    jackrabbit/site/live/oak/docs/security/accesscontrol/restriction.html
Modified:
    jackrabbit/site/live/oak/docs/FAQ.html
    jackrabbit/site/live/oak/docs/architecture/nodestate.html
    jackrabbit/site/live/oak/docs/architecture/overview.html
    jackrabbit/site/live/oak/docs/architecture/transactional-model.html
    jackrabbit/site/live/oak/docs/attribution.html
    jackrabbit/site/live/oak/docs/clustering.html
    jackrabbit/site/live/oak/docs/coldstandby/coldstandby.html
    jackrabbit/site/live/oak/docs/command_line.html
    jackrabbit/site/live/oak/docs/construct.html
    jackrabbit/site/live/oak/docs/dev_getting_started.html
    jackrabbit/site/live/oak/docs/developing-with-git.html
    jackrabbit/site/live/oak/docs/diagnostic-builds.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/features/atomic-counter.html
    jackrabbit/site/live/oak/docs/index.html
    jackrabbit/site/live/oak/docs/jsop-diff.html
    jackrabbit/site/live/oak/docs/known_issues.html
    jackrabbit/site/live/oak/docs/license.html
    jackrabbit/site/live/oak/docs/migration.html
    jackrabbit/site/live/oak/docs/nodestore/documentmk.html
    jackrabbit/site/live/oak/docs/nodestore/overview.html
    jackrabbit/site/live/oak/docs/nodestore/persistent-cache.html
    jackrabbit/site/live/oak/docs/nodestore/segment/overview.html
    jackrabbit/site/live/oak/docs/nodestore/segment/records.html
    jackrabbit/site/live/oak/docs/nodestore/segment/tar.html
    jackrabbit/site/live/oak/docs/nodestore/segmentmk.html
    jackrabbit/site/live/oak/docs/oak_api/error_codes.html
    jackrabbit/site/live/oak/docs/oak_api/overview.html
    jackrabbit/site/live/oak/docs/osgi_config.html
    jackrabbit/site/live/oak/docs/participating.html
    jackrabbit/site/live/oak/docs/plugins/blobstore.html
    jackrabbit/site/live/oak/docs/query/flags.html
    jackrabbit/site/live/oak/docs/query/lucene-old.html
    jackrabbit/site/live/oak/docs/query/lucene.html
    jackrabbit/site/live/oak/docs/query/ootb-index-change.html
    jackrabbit/site/live/oak/docs/query/ordered-index-migrate.html
    jackrabbit/site/live/oak/docs/query/ordered-index.html
    jackrabbit/site/live/oak/docs/query/property-index.html
    jackrabbit/site/live/oak/docs/query/query-engine.html
    jackrabbit/site/live/oak/docs/query/query.html
    jackrabbit/site/live/oak/docs/query/solr.html
    jackrabbit/site/live/oak/docs/release-schedule.html
    jackrabbit/site/live/oak/docs/security/accesscontrol.html
    jackrabbit/site/live/oak/docs/security/accesscontrol/default.html
    jackrabbit/site/live/oak/docs/security/accesscontrol/differences.html
    jackrabbit/site/live/oak/docs/security/accesscontrol/editing.html
    jackrabbit/site/live/oak/docs/security/authentication.html
    jackrabbit/site/live/oak/docs/security/authentication/default.html
    jackrabbit/site/live/oak/docs/security/authentication/differences.html
    jackrabbit/site/live/oak/docs/security/authentication/external/defaultusersync.html
    jackrabbit/site/live/oak/docs/security/authentication/external/dynamic.html
    jackrabbit/site/live/oak/docs/security/authentication/external/externallogin_examples.html
    jackrabbit/site/live/oak/docs/security/authentication/externalloginmodule.html
    jackrabbit/site/live/oak/docs/security/authentication/identitymanagement.html
    jackrabbit/site/live/oak/docs/security/authentication/ldap.html
    jackrabbit/site/live/oak/docs/security/authentication/preauthentication.html
    jackrabbit/site/live/oak/docs/security/authentication/token/default.html
    jackrabbit/site/live/oak/docs/security/authentication/tokenmanagement.html
    jackrabbit/site/live/oak/docs/security/authentication/usersync.html
    jackrabbit/site/live/oak/docs/security/authorization.html
    jackrabbit/site/live/oak/docs/security/authorization/composite.html
    jackrabbit/site/live/oak/docs/security/authorization/cug.html
    jackrabbit/site/live/oak/docs/security/authorization/restriction.html
    jackrabbit/site/live/oak/docs/security/introduction.html
    jackrabbit/site/live/oak/docs/security/overview.html
    jackrabbit/site/live/oak/docs/security/permission.html
    jackrabbit/site/live/oak/docs/security/permission/default.html
    jackrabbit/site/live/oak/docs/security/permission/differences.html
    jackrabbit/site/live/oak/docs/security/permission/evaluation.html
    jackrabbit/site/live/oak/docs/security/permission/permissionsandprivileges.html
    jackrabbit/site/live/oak/docs/security/principal.html
    jackrabbit/site/live/oak/docs/security/principal/cache.html
    jackrabbit/site/live/oak/docs/security/principal/differences.html
    jackrabbit/site/live/oak/docs/security/principal/principalprovider.html
    jackrabbit/site/live/oak/docs/security/privilege.html
    jackrabbit/site/live/oak/docs/security/privilege/default.html
    jackrabbit/site/live/oak/docs/security/privilege/differences.html
    jackrabbit/site/live/oak/docs/security/privilege/mappingtoitems.html
    jackrabbit/site/live/oak/docs/security/privilege/mappingtoprivileges.html
    jackrabbit/site/live/oak/docs/security/user.html
    jackrabbit/site/live/oak/docs/security/user/authorizableaction.html
    jackrabbit/site/live/oak/docs/security/user/authorizablenodename.html
    jackrabbit/site/live/oak/docs/security/user/default.html
    jackrabbit/site/live/oak/docs/security/user/differences.html
    jackrabbit/site/live/oak/docs/security/user/expiry.html
    jackrabbit/site/live/oak/docs/security/user/groupaction.html
    jackrabbit/site/live/oak/docs/security/user/history.html
    jackrabbit/site/live/oak/docs/security/user/membership.html
    jackrabbit/site/live/oak/docs/security/user/query.html
    jackrabbit/site/live/oak/docs/use_getting_started.html

Modified: jackrabbit/site/live/oak/docs/FAQ.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/FAQ.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/FAQ.html (original)
+++ jackrabbit/site/live/oak/docs/FAQ.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak -  Frequently asked questions</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/architecture/nodestate.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/architecture/nodestate.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/architecture/nodestate.html (original)
+++ jackrabbit/site/live/oak/docs/architecture/nodestate.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Understanding the node state model</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/architecture/overview.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/architecture/overview.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/architecture/overview.html (original)
+++ jackrabbit/site/live/oak/docs/architecture/overview.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Oak - The big picture</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/architecture/transactional-model.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/architecture/transactional-model.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/architecture/transactional-model.html (original)
+++ jackrabbit/site/live/oak/docs/architecture/transactional-model.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Transactional model of sessions</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/attribution.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/attribution.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/attribution.html (original)
+++ jackrabbit/site/live/oak/docs/attribution.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Supporting software attribution</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/clustering.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/clustering.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/clustering.html (original)
+++ jackrabbit/site/live/oak/docs/clustering.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Clustering</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/coldstandby/coldstandby.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/coldstandby/coldstandby.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/coldstandby/coldstandby.html (original)
+++ jackrabbit/site/live/oak/docs/coldstandby/coldstandby.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Cold Standby</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/command_line.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/command_line.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/command_line.html (original)
+++ jackrabbit/site/live/oak/docs/command_line.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Command Line Tools</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/construct.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/construct.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/construct.html (original)
+++ jackrabbit/site/live/oak/docs/construct.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Repository Construction</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-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=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/dev_getting_started.html (original)
+++ jackrabbit/site/live/oak/docs/dev_getting_started.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Getting Started</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/developing-with-git.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/developing-with-git.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/developing-with-git.html (original)
+++ jackrabbit/site/live/oak/docs/developing-with-git.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Developing with Git</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/diagnostic-builds.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/diagnostic-builds.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/diagnostic-builds.html (original)
+++ jackrabbit/site/live/oak/docs/diagnostic-builds.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Cutting diagnostic builds</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/differences.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/differences.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/differences.html (original)
+++ jackrabbit/site/live/oak/docs/differences.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Backward compatibility</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

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=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/dos_and_donts.html (original)
+++ jackrabbit/site/live/oak/docs/dos_and_donts.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Session refresh behavior</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/downloads.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/downloads.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/downloads.html (original)
+++ jackrabbit/site/live/oak/docs/downloads.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Downloads</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/features/atomic-counter.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/features/atomic-counter.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/features/atomic-counter.html (original)
+++ jackrabbit/site/live/oak/docs/features/atomic-counter.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Atomic Counter</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/index.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/index.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/index.html (original)
+++ jackrabbit/site/live/oak/docs/index.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Jackrabbit Oak - the next generation content repository</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-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=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/jsop-diff.html (original)
+++ jackrabbit/site/live/oak/docs/jsop-diff.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - </title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/known_issues.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/known_issues.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/known_issues.html (original)
+++ jackrabbit/site/live/oak/docs/known_issues.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Known issues</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/license.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/license.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/license.html (original)
+++ jackrabbit/site/live/oak/docs/license.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - License</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/migration.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/migration.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/migration.html (original)
+++ jackrabbit/site/live/oak/docs/migration.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Repository migration</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/documentmk.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/documentmk.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/documentmk.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/documentmk.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Oak Document Storage</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/overview.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/overview.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/overview.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/overview.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Node Storage</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/persistent-cache.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/persistent-cache.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/persistent-cache.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/persistent-cache.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Persistent Cache</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 
@@ -533,7 +533,7 @@
 <div class="source">
 <pre>./cache
 </pre></div>
-<p>In this case, the data is stored in the directory &#x201c;cache&#x201d;, relative to the current working directory. By default, there are at most two files (two generations) with the name &#x201c;cache-x.data&#x201d;, where x is an incrementing number (0, 1,&#x2026;). A file is at most 1 GB by default. If the file is larger, the next file is created, and if there are more than two files, the oldest one is removed. If data from the older file is accessed, it is copied to the latest file. That way, data that is not recently read will eventually be removed.</p>
+<p>In this case, the data is stored in the directory &#x201c;cache&#x201d;, relative to the <tt>repository.home</tt> directory. If no repository home directory is configured, the directory is relative to the current working directory. Oak versions prior to 1.6 always resolve to the current working directory and ignore the <tt>repository.home</tt> configuration. By default, there are at most two files (two generations) with the name &#x201c;cache-x.data&#x201d;, where x is an incrementing number (0, 1,&#x2026;). A file is at most 1 GB by default. If the file is larger, the next file is created, and if there are more than two files, the oldest one is removed. If data from the older file is accessed, it is copied to the latest file. That way, data that is not recently read will eventually be removed.</p>
 <p>The following other configuration options are available:</p>
 
 <ul>

Modified: jackrabbit/site/live/oak/docs/nodestore/segment/overview.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/segment/overview.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/segment/overview.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/segment/overview.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Segment Node Store</title>
     <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/segment/records.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/segment/records.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/segment/records.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/segment/records.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Records and segments</title>
     <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/segment/tar.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/segment/tar.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/segment/tar.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/segment/tar.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Structure of TAR files</title>
     <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Modified: jackrabbit/site/live/oak/docs/nodestore/segmentmk.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/nodestore/segmentmk.html?rev=1765454&r1=1765453&r2=1765454&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/nodestore/segmentmk.html (original)
+++ jackrabbit/site/live/oak/docs/nodestore/segmentmk.html Tue Oct 18 15:01:04 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-08-10
+ | Generated by Apache Maven Doxia at 2016-10-18
  | 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="20160810" />
+    <meta name="Date-Revision-yyyymmdd" content="20161018" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Segment Storage Design Overview</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -216,7 +216,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-08-10</li>
+                  <li id="publishDate">Last Published: 2016-10-18</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 

Added: jackrabbit/site/live/oak/docs/oak-mongo-js/index.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/oak-mongo-js/index.html?rev=1765454&view=auto
==============================================================================
--- jackrabbit/site/live/oak/docs/oak-mongo-js/index.html (added)
+++ jackrabbit/site/live/oak/docs/oak-mongo-js/index.html Tue Oct 18 15:01:04 2016
@@ -0,0 +1,63 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <title>JSDoc: Index</title>
+    
+    <script src="scripts/prettify/prettify.js"> </script>
+    <script src="scripts/prettify/lang-css.js"> </script>
+    <!--[if lt IE 9]>
+      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
+    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
+</head>
+
+<body>
+
+<div id="main">
+    
+    <h1 class="page-title">Index</h1>
+    
+    
+
+
+    
+
+
+    <h3> </h3>
+
+
+
+
+
+
+
+
+
+    
+
+
+
+
+
+
+
+
+
+</div>
+
+<nav>
+    <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="oak.html">oak</a></li></ul>
+</nav>
+
+<br clear="both">
+
+<footer>
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.3-dev</a> on Tue Oct 18 2016 16:58:39 GMT+0200 (CEST)
+</footer>
+
+<script> prettyPrint(); </script>
+<script src="scripts/linenumber.js"> </script>
+</body>
+</html>
\ No newline at end of file

Propchange: jackrabbit/site/live/oak/docs/oak-mongo-js/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html?rev=1765454&view=auto
==============================================================================
--- jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html (added)
+++ jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html Tue Oct 18 15:01:04 2016
@@ -0,0 +1,1074 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <title>JSDoc: Source: oak-mongo.js</title>
+    
+    <script src="scripts/prettify/prettify.js"> </script>
+    <script src="scripts/prettify/lang-css.js"> </script>
+    <!--[if lt IE 9]>
+      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
+    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
+</head>
+
+<body>
+
+<div id="main">
+    
+    <h1 class="page-title">Source: oak-mongo.js</h1>
+    
+    
+
+
+    
+    <section>
+        <article>
+            <pre class="prettyprint source"><code>/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+/*global print, _, db, Object, ObjectId */
+
+/** @namespace */
+var oak = (function(global){
+    "use strict";
+
+    var api;
+
+    api = function(){
+        print("Oak Mongo Helpers");
+    };
+
+    /**
+     * Collects various stats related to Oak usage of Mongo.
+     *
+     * @memberof oak
+     * @method oak.systemStats
+     * @returns {object} system stats.
+     */
+    api.systemStats = function () {
+        var result = {};
+        result.nodeStats = db.nodes.stats(1024 * 1024);
+        result.blobStats = db.blobs.stats(1024 * 1024);
+        result.clusterStats = db.clusterNodes.find().toArray();
+        result.oakIndexes = db.nodes.find({'_id': /^2\:\/oak\:index\//}).toArray();
+        result.hostInfo = db.hostInfo();
+        result.rootDoc = db.nodes.findOne({'_id' : '0:/'});
+        return result;
+    };
+
+    /**
+     * Collects various stats related to Oak indexes stored under /oak:index.
+     *
+     * @memberof oak
+     * @method indexStats
+     * @returns {Array} index stats.
+     */
+    api.indexStats = function () {
+        var result = [];
+        var totalCount = 0;
+        var totalSize = 0;
+        db.nodes.find({'_id': /^2\:\/oak\:index\//}, {_id: 1}).forEach(function (doc) {
+            var stats = api.getChildStats(api.pathFromId(doc._id));
+            stats.id = doc._id;
+            result.push(stats);
+
+            totalCount += stats.count;
+            totalSize += stats.size;
+        });
+
+        result.push({id: "summary", count: totalCount, size: totalSize, "simple": humanFileSize(totalSize)});
+        return result;
+    };
+
+    /**
+     * Determines the number of child node (including all sub tree)
+     * for a given parent node path. This would be faster compared to
+     * {@link getChildStats} as it does not load the doc and works on
+     * index only.
+     *
+     * Note that there might be some difference between db.nodes.count()
+     * and countChildren('/') as split docs, intermediate docs are not
+     * accounted for
+     *
+     * @memberof oak
+     * @method countChildren
+     * @param {string} path the path of a node.
+     * @returns {number} the number of children, including all descendant nodes.
+     */
+    api.countChildren = function(path){
+        if (path === undefined) {
+            return 0;
+        } else if (path != "/") {
+            path = path + "/";
+        }
+
+        var depth = pathDepth(path);
+        var totalCount = 0;
+        while (true) {
+            var count = db.nodes.count({_id: pathFilter(depth++, path)});
+            if( count === 0){
+                break;
+            }
+            totalCount += count;
+        }
+        return totalCount;
+    };
+
+    /**
+     * Provides stats related to number of child nodes
+     * below given path or total size taken by such nodes.
+     *
+     * @memberof oak
+     * @method getChildStats
+     * @param {string} path the path of a node.
+     * @returns {{count: number, size: number}} statistics about the child nodes
+     *          including all descendants.
+     */
+    api.getChildStats = function(path){
+        var count = 0;
+        var size = 0;
+        this.forEachChild(path, function(doc){
+            count++;
+            size +=  Object.bsonsize(doc);
+        });
+        return {"count" : count, "size" : size, "simple" : humanFileSize(size)};
+    };
+
+    /**
+     * Performs a breadth first traversal for nodes under given path
+     * and invokes the passed function for each child node.
+     *
+     * @memberof oak
+     * @method forEachChild
+     * @param {string} path the path of a node.
+     * @param callable a function to be called for each child node including all
+     *        descendant nodes. The MongoDB document is passed as the single
+     *        parameter of the function.
+     */
+    api.forEachChild = function(path, callable) {
+        if (path !== undefined && path != "/") {
+            path = path + "/";
+        }
+
+        var depth = pathDepth(path);
+        while (true) {
+            var cur = db.nodes.find({_id: pathFilter(depth++, path)});
+            if(!cur.hasNext()){
+                break;
+            }
+            cur.forEach(callable);
+        }
+    };
+
+    /**
+     * Returns the path part of the given id.
+     *
+     * @memberof oak
+     * @method pathFromId
+     * @param {string} id the id of a Document in the nodes collection.
+     * @returns {string} the path derived from the id.
+     */
+    api.pathFromId = function(id) {
+        var index = id.indexOf(':');
+        return id.substring(index + 1);
+    };
+
+    /**
+     * Checks the _lastRev for a given clusterId. The checks starts with the
+     * given path and walks up to the root node.
+     *
+     * @memberof oak
+     * @method checkLastRevs
+     * @param {string} path the path of a node to check
+     * @param {number} clusterId the id of an oak cluster node.
+     * @returns {object} the result of the check.
+     */
+    api.checkLastRevs = function(path, clusterId) {
+        return checkOrFixLastRevs(path, clusterId, true);
+    };
+
+    /**
+     * Fixes the _lastRev for a given clusterId. The fix starts with the
+     * given path and walks up to the root node.
+     *
+     * @memberof oak
+     * @method fixLastRevs
+     * @param {string} path the path of a node to fix
+     * @param {number} clusterId the id of an oak cluster node.
+     * @returns {object} the result of the fix.
+     */
+    api.fixLastRevs = function(path, clusterId) {
+        return checkOrFixLastRevs(path, clusterId, false);
+    };
+
+    /**
+     * Returns statistics about the blobs collection in the current database.
+     * The stats include the combined BSON size of all documents. The time to
+     * run this command therefore heavily depends on the size of the collection.
+     *
+     * @memberof oak
+     * @method blobStats
+     * @returns {object} statistics about the blobs collection.
+     */
+    api.blobStats = function() {
+        var result = {};
+        var stats = db.blobs.stats(1024 * 1024);
+        var bsonSize = 0;
+        db.blobs.find().forEach(function(doc){bsonSize += Object.bsonsize(doc)});
+        result.count = stats.count;
+        result.size = stats.size;
+        result.storageSize = stats.storageSize;
+        result.bsonSize = Math.round(bsonSize / (1024 * 1024));
+        result.indexSize = stats.totalIndexSize;
+        return result;
+    };
+
+    /**
+     * Converts the given Revision String into a more human readable version,
+     * which also prints the date.
+     *
+     * @memberof oak
+     * @method formatRevision
+     * @param {string} rev a revision string.
+     * @returns {string} a human readable string representation of the revision.
+     */
+    api.formatRevision = function(rev) {
+        return new Revision(rev).toReadableString();
+    };
+
+    /**
+     * Removes the complete subtree rooted at the given path.
+     *
+     * @memberof oak
+     * @method removeDescendantsAndSelf
+     * @param {string} path the path of the subtree to remove.
+     */
+    api.removeDescendantsAndSelf = function(path) {
+        var count = 0;
+        var depth = pathDepth(path);
+        var id = depth + ":" + path;
+        // current node at path
+        var result = db.nodes.remove({_id: id});
+        count += result.nRemoved;
+        // might be a long path
+        result = db.nodes.remove(longPathQuery(path));
+        count += result.nRemoved;
+        // descendants
+        var prefix = path + "/";
+        depth++;
+        while (true) {
+            result = db.nodes.remove(longPathFilter(depth, prefix));
+            count += result.nRemoved;
+            result = db.nodes.remove({_id: pathFilter(depth++, prefix)});
+            count += result.nRemoved;
+            if (result.nRemoved == 0) {
+                break;
+            }
+        }
+        // descendants further down the hierarchy with long path
+        while (true) {
+            result = db.nodes.remove(longPathFilter(depth++, prefix));
+            if (result.nRemoved == 0) {
+                break;
+            }
+            count += result.nRemoved;
+        }
+        return {nRemoved : count};
+    };
+
+    /**
+     * List all checkpoints.
+     *
+     * @memberof oak
+     * @method listCheckpoints
+     * @returns {object} all checkpoints
+     */
+    api.listCheckpoints = function() {
+        var result = {};
+        var doc = db.settings.findOne({_id:"checkpoint"});
+        if (doc == null) {
+            print("No checkpoint document found.");
+            return;
+        }
+        var data = doc.data;
+        var r;
+        for (r in data) {
+            var rev = new Revision(r);
+            var exp;
+            if (data[r].charAt(0) == '{') {
+                exp = JSON.parse(data[r])["expires"];
+            } else {
+                exp = data[r];
+            }
+            result[r] = {created:rev.asDate(), expires:new Date(parseInt(exp, 10))};
+        }
+        return result;
+    };
+
+    /**
+     * Removes all checkpoints older than a given Revision.
+     *
+     * @memberof oak
+     * @method removeCheckpointsOlderThan
+     * @param {string} rev checkpoints older than this revision are removed.
+     * @returns {object} the result of the MongoDB update.
+     */
+    api.removeCheckpointsOlderThan = function(rev) {
+        if (rev === undefined) {
+            print("No revision specified");
+            return;
+        }
+        var r = new Revision(rev);
+        var unset = {};
+        var cps = api.listCheckpoints();
+        var x;
+        var num = 0;
+        for (x in cps) {
+            if (r.isNewerThan(new Revision(x))) {
+                unset["data." + x] = "";
+                num++;
+            }
+        }
+        if (num > 0) {
+            var update = {};
+            update["$inc"] = {_modCount: NumberLong(1)};
+            update["$unset"] = unset;
+            return db.settings.update({_id:"checkpoint"}, update);
+        } else {
+            print("No checkpoint older than " + rev);
+        }
+    };
+
+    /**
+     * Removes all collision markers on the document with the given path and
+     * clusterId. This method will only remove collisions when the clusterId
+     * is inactive.
+     *
+     * @memberof oak
+     * @method removeCollisions
+     * @param {string} path the path of a document
+     * @param {number} clusterId collision markers for this clusterId will be removed.
+     * @returns {object} the result of the MongoDB update.
+     */
+    api.removeCollisions = function(path, clusterId) {
+        if (path === undefined) {
+            print("No path specified");
+            return;
+        }
+        if (clusterId === undefined) {
+            print("No clusterId specified");
+            return;
+        }
+        // refuse to remove when clusterId is marked active
+        var clusterNode = db.clusterNodes.findOne({_id: clusterId.toString()});
+        if (clusterNode && clusterNode.state == "ACTIVE") {
+            print("Cluster node with id " + clusterId + " is active!");
+            print("Can only remove collisions for inactive cluster node.");
+            return;
+        }
+
+        var doc = this.findOne(path);
+        if (!doc) {
+            print("No document for path: " + path);
+            return;
+        }
+        var unset = {};
+        var r;
+        var num = 0;
+        for (r in doc._collisions) {
+            if (new Revision(r).getClusterId() == clusterId) {
+                unset["_collisions." + r] = "";
+                num++;
+            }
+        }
+        if (num > 0) {
+            var update = {};
+            update["$inc"] = {_modCount: NumberLong(1)};
+            update["$unset"] = unset;
+            return db.nodes.update({_id: pathDepth(path) + ":" + path}, update);
+        } else {
+            print("No collisions found for clusterId " + clusterId);
+        }
+    };
+
+    /**
+     * Finds the document with the given path.
+     *
+     * @memberof oak
+     * @method findOne
+     * @param {string} path the path of the document.
+     * @returns {object} the document or null if it doesn't exist.
+     */
+    api.findOne = function(path) {
+        if (path === undefined) {
+            return null;
+        }
+        return db.nodes.findOne({_id: pathDepth(path) + ":" + path});
+    };
+
+    /**
+     * Checks the history of previous documents at the given path. Orphaned
+     * references to removed previous documents are counted and listed when
+     * run with verbose set to true.
+     *
+     * @memberof oak
+     * @method checkHistory
+     * @param {string} path the path of the document.
+     * @param {boolean} [verbose=false] if true, the result object will contain a list
+     *        of dangling references to previous documents.
+     * @param {boolean} [ignorePathLen=false] whether to ignore a long path and
+     *        still try to read it from MongoDB.
+     * @returns {object} the result of the check.
+     */
+    api.checkHistory = function(path, verbose, ignorePathLen) {
+        return checkOrFixHistory(path, false, verbose, ignorePathLen);
+    };
+
+    /**
+     * Lists the descendant documents at a given path.
+     *
+     * @memberof oak
+     * @method listDescendants
+     * @param {string} path list the descendants of the document with this path.
+     */
+    api.listDescendants = function(path) {
+        if (path === undefined) {
+            return null;
+        }
+        var numDescendants = 0;
+        print("Listing descendants for "+path);
+        this.forEachChild(path, function(aChild) {
+            print(api.pathFromId(aChild._id));
+            numDescendants++;
+        });
+        print("Found " + numDescendants + " descendants");
+    };
+
+    /**
+     * Lists the children at a given path.
+     *
+     * @memberof oak
+     * @method listChildren
+     * @param {string} path list the children of the document with this path.
+     */
+    api.listChildren = function(path) {
+        if (path === undefined) {
+            return null;
+        }
+        var numChildren = 0;
+        print("Listing children for "+path);
+        var prefix;
+        if (path == "/") {
+            prefix = path;
+        } else {
+            prefix = path + "/";
+        }
+        db.nodes.find({_id: pathFilter(pathDepth(path) + 1, prefix)}).forEach(function(doc) {
+            print(api.pathFromId(doc._id));
+            numChildren++;
+        });
+        print("Found " + numChildren + " children");
+    };
+
+    /**
+     * Same as checkHistory except it goes through ALL descendants as well!
+     *
+     * @memberof oak
+     * @method checkDeepHistory
+     * @param {string} path the path of the document.
+     * @param {boolean} [verbose=false] if true, the result object will contain a list
+     *        of dangling references to previous documents.
+     */
+    api.checkDeepHistory = function(path, verbose) {
+        checkOrFixDeepHistory(path, false, false, verbose);
+    };
+
+    /**
+     * Preparation step which scans through all descendants and prints out
+     * 'fixHistory' for those that need fixing of their 'dangling references'.
+     * &lt;p>
+     * See fixHistory for parameter details.
+     * &lt;p>
+     * Run this command via something as follows:
+     * &lt;p>
+     *  mongo &lt;DBNAME> -eval "load('oak-mongo.js'); oak.prepareDeepHistory('/');" > fix.js
+     *
+     * @memberof oak
+     * @method prepareDeepHistory
+     * @param {string} path the path of a document.
+     * @param {boolean} [verbose=false] if true, the result object will contain a list
+     *        of dangling references to previous documents.
+     */
+    api.prepareDeepHistory = function(path, verbose) {
+        checkOrFixDeepHistory(path, false, true, verbose);
+    };
+
+    /**
+     * Same as fixHistory except it goes through ALL descendants as well!
+     *
+     * @memberof oak
+     * @method fixDeepHistory
+     * @param {string} path the path of the document.
+     * @param {boolean} [verbose=false] if true, the result object will contain a list
+     *        of removed references to previous documents.
+     */
+    api.fixDeepHistory = function(path, verbose) {
+        checkOrFixDeepHistory(path, true, false, verbose);
+    };
+
+    /**
+     * Repairs the history of previous documents at the given path. Orphaned
+     * references to removed previous documents are cleaned up and listed when
+     * run with verbose set to true.
+     *
+     * @memberof oak
+     * @method fixHistory
+     * @param {string} path the path of the document.
+     * @param {boolean} [verbose=false] if true, the result object will contain a list
+     *        of removed references to previous documents.
+     * @returns {object} the result of the fix.
+     */
+    api.fixHistory = function(path, verbose) {
+        return checkOrFixHistory(path, true, verbose, true);
+    };
+
+    /**
+     * Returns the commit value entry for the change with the given revision.
+     *
+     * @memberof oak
+     * @method getCommitValue
+     * @param {string} path the path of a document.
+     * @param {string} revision the revision of a change on the document.
+     * @returns {object} the commit entry for the given revision or null if
+     *          there is none.
+     */
+    api.getCommitValue = function(path, revision) {
+        var doc = this.findOne(path);
+        if (!doc) {
+            return null;
+        }
+        if (revision === undefined) {
+            print("No revision specified");
+        }
+        // check _revisions
+        var entry = getRevisionEntry(doc, path, revision);
+        if (entry) {
+            return entry;
+        }
+
+        // get commit root
+        entry = getEntry(doc, "_commitRoot", revision);
+        if (!entry) {
+            var prev = findPreviousDocument(path, "_commitRoot", revision);
+            if (prev) {
+                entry = getEntry(prev, "_commitRoot", revision);
+            }
+        }
+        if (!entry) {
+            return null;
+        }
+        var commitRootPath = getCommitRootPath(path, parseInt(entry[revision]));
+        doc = this.findOne(commitRootPath);
+        if (!doc) {
+            return null;
+        }
+        return getRevisionEntry(doc, commitRootPath, revision);
+    };
+    
+    /**
+     * Prints mongoexport command to export all documents related to given path.
+     * Related documents refer to all documents in the hierarchy and their split documents.
+     * e.g.
+     * > oak.printMongoExportCommand("/etc", {db: "aem-author"})
+     *
+     * @memberof oak
+     * @method printMongoExportCommand
+     * @param {string} path the path of the document.
+     * @param {object} options pass optional parameters for host, port, db, and filename 
+     * @returns {string} command line which can be used to export documents using mongoexport
+     */
+
+    api.printMongoExportCommand = function (path, options) {
+        options = options || {};
+        var host = options.host || "127.0.0.1";
+        var port = options.port || "27017";
+        var db = options.db || "oak";
+        var filename = options.filename || "all-required-nodes.json"
+
+        var query = JSON.stringify(getDocAndHierarchyQuery(path));
+
+        var mongoExportCommand = "mongoexport"
+                                    + " --host " + host
+                                    + " --port " + port
+                                    + " --db " + db
+                                    + " --collection nodes"
+                                    + " --out " + filename
+                                    + " --query '" + query + "'";
+
+        return mongoExportCommand;
+    };
+
+    /**
+     * Prints mongoexport command to export oplog entries around time represented by revision.
+     * e.g.
+     * > oak.printOplogSliceCommand("r14e64620028-0-1", {db: "aem-author"})
+     * Note, this assumed that time on mongo instance is synchronized with time on oak instance. If that's
+     * not the case, then adjust revStr to account for the difference.
+     *
+     * @memberof oak
+     * @method printOplogSliceCommand
+     * @param {string} revStr revision string around which oplog is to be exported.
+     * @param {object} options pass optional parameters for host, port, db, filename, oplogTimeBuffer
+     * @returns {string} command line which can be used to export oplog entries using mongoexport
+     */
+
+    api.printOplogSliceCommand = function (revStr, options) {
+        options = options || {};
+        var host = options.host || "127.0.0.1";
+        var port = options.port || "27017";
+        var db = options.db || "oak";
+        var filename = options.filename || "oplog.json";
+        var oplogTimeBuffer = options.oplogTimeBuffer || 10;
+
+        var rev = new Revision(revStr);
+        var revTimeInSec = rev.asDate().getTime()/1000;
+        var startOplogTime = Math.floor(revTimeInSec - oplogTimeBuffer);
+        var endOplogTime = Math.ceil(revTimeInSec + oplogTimeBuffer);
+
+        var query = '{"ns" : "' + db + '.nodes", "ts": {"$gte": Timestamp(' + startOplogTime
+                                                + ', 1), "$lte": Timestamp(' + endOplogTime + ', 1)}}';
+
+        var mongoExportCommand = "mongoexport"
+                                    + " --host " + host
+                                    + " --port " + port
+                                    + " --db local"
+                                    + " --collection oplog.rs"
+                                    + " --out " + filename
+                                    + " --query '" + query + "'";
+
+        return mongoExportCommand;
+    };
+
+    //~--------------------------------------------------&lt; internal >
+
+    var checkOrFixDeepHistory = function(path, fix, prepare, verbose) {
+        if (prepare) {
+            // not issuing any header at all
+        } else if (fix) {
+            print("Fixing   "+path+" plus all descendants...");
+        } else {
+            print("Checking "+path+" plus all descendants...");
+        }
+        var count = 0;
+        var ignored = 0;
+        var affected = 0;
+        api.forEachChild(path, function(aChild) {
+            var p = api.pathFromId(aChild._id);
+            var result = checkOrFixHistory(p, fix, verbose, true);
+            if (result) {
+                if (prepare) {
+                    var numDangling = result.numPrevLinksDangling;
+                    if (numDangling!=0) {
+                        print("oak.fixHistory('"+p+"');");
+                        affected++;
+                    }
+                } else if (fix) {
+                    var numDangling = result.numPrevLinksRemoved;
+                    if (numDangling!=0) {
+                        print(" - path: "+p+" removed "+numDangling+" dangling previous revisions");
+                        affected++;
+                    }
+                } else {
+                    var numDangling = result.numPrevLinksDangling;
+                    if (numDangling!=0) {
+                        print(" - path: "+p+" has "+numDangling+" dangling previous revisions");
+                        affected++;
+                    }
+                }
+                if (!prepare && (++count%10000==0)) {
+                    print("[checked "+count+" so far ("+affected+" affected, "+ignored+" ignored) ...]");
+                }
+            } else {
+                if (!prepare) {
+                    print(" - could not handle "+p);
+                }
+                ignored++;
+            }
+        });
+        if (!prepare) {
+            print("Total: "+count+" handled, "+affected+" affected, "+ignored+" ignored (path too long)");
+            print("done.");
+        }
+    };
+
+    var getRevisionEntry = function (doc, path, revision) {
+        var entry = getEntry(doc, "_revisions", revision);
+        if (entry) {
+            return entry;
+        }
+        var prev = findPreviousDocument(path, "_revisions", revision);
+        if (prev) {
+            entry = getEntry(prev, "_revisions", revision);
+            if (entry) {
+                return entry;
+            }
+        }
+    };
+    
+    var getCommitRootPath = function(path, depth) {
+        if (depth == 0) {
+            return "/";
+        }
+        var idx = 0;
+        while (depth-- > 0 && idx != -1) {
+            idx = path.indexOf("/", idx + 1);
+        }
+        if (idx == -1) {
+            idx = path.length;
+        }
+        return path.substring(0, idx);
+    };
+    
+    var getEntry = function(doc, name, revision) {
+        var result = null;
+        if (doc && doc[name] && doc[name][revision]) {
+            result = {};
+            result[revision] = doc[name][revision];
+        }
+        return result;
+    };
+    
+    var findPreviousDocument = function(path, name, revision) {
+        var rev = new Revision(revision);
+        if (path === undefined) {
+            print("No path specified");
+            return;
+        }
+        if (path.length > 165) {
+            print("Path too long");
+            return;
+        }
+        var doc = api.findOne(path);
+        if (!doc) {
+            return null;
+        }
+        var result = null;
+        forEachPrev(doc, function traverse(d, high, low, height) {
+            var highRev = new Revision(high);
+            var lowRev = new Revision(low);
+            if (highRev.getClusterId() != rev.getClusterId() 
+                    || lowRev.isNewerThan(rev) 
+                    || rev.isNewerThan(highRev)) {
+                return;
+            }
+            
+            var id = prevDocIdFor(path, high, height);
+
+            var prev = db.nodes.findOne({_id: id });
+            if (prev) {
+                if (prev[name] && prev[name][revision]) {
+                    result = prev;
+                } else {
+                    forEachPrev(prev, traverse);
+                }
+            }
+        });
+        return result;
+    };
+
+    var checkOrFixHistory = function(path, fix, verbose, ignorePathLen) {
+        if (path === undefined) {
+            print("No path specified");
+            return;
+        }
+        if (!ignorePathLen && (path.length > 165)) {
+            print("Path too long");
+            return;
+        }
+
+        var doc = api.findOne(path);
+        if (!doc) {
+            return null;
+        }
+
+        var result = {};
+        result._id = pathDepth(path) + ":" + path;
+        if (verbose) {
+            result.prevDocs = [];
+            if (fix) {
+                result.prevLinksRemoved = [];
+            } else {
+                result.prevLinksDangling = [];
+            }
+        }
+        result.numPrevDocs = 0;
+        if (fix) {
+            result.numPrevLinksRemoved = 0;
+        } else {
+            result.numPrevLinksDangling = 0;
+        }
+
+
+        forEachPrev(doc, function traverse(d, high, low, height) {
+            var id = prevDocIdFor(path, high, height);
+            var prev = db.nodes.findOne({_id: id });
+            if (prev) {
+                if (result.prevDocs) {
+                    result.prevDocs.push(high + "/" + height);
+                }
+                result.numPrevDocs++;
+                if (parseInt(height) > 0) {
+                    forEachPrev(prev, traverse);
+                }
+            } else if (fix) {
+                if (result.prevLinksRemoved) {
+                    result.prevLinksRemoved.push(high + "/" + height);
+                }
+                result.numPrevLinksRemoved++;
+                var update = {};
+                update.$inc = {_modCount : NumberLong(1)};
+                if (d._sdType == 40) { // intermediate split doc type
+                    update.$unset = {};
+                    update.$unset["_prev." + high] = 1;
+                } else {
+                    update.$set = {};
+                    update.$set["_stalePrev." + high] = height;
+                }
+                db.nodes.update({_id: d._id}, update);
+            } else {
+                if (result.prevLinksDangling) {
+                    result.prevLinksDangling.push(high + "/" + height);
+                }
+                result.numPrevLinksDangling++;
+            }
+        });
+        return result;
+    };
+
+    var forEachPrev = function(doc, callable) {
+        var stalePrev = doc._stalePrev;
+        if (!stalePrev) {
+            stalePrev = {};
+        }
+        var r;
+        for (r in doc._prev) {
+            var value = doc._prev[r];
+            var idx = value.lastIndexOf("/");
+            var height = value.substring(idx + 1);
+            var low = value.substring(0, idx);
+            if (stalePrev[r] == height) {
+                continue;
+            }
+            callable.call(this, doc, r, low, height);
+        }
+    };
+
+    var checkOrFixLastRevs = function(path, clusterId, dryRun) {
+         if (path === undefined) {
+            print("Need at least a path from where to start check/fix.");
+            return;
+         }
+         var result = [];
+         var lastRev;
+         if (path.length == 0 || path.charAt(0) != '/') {
+            return "Not a valid absolute path";
+         }
+         if (clusterId === undefined) {
+            clusterId = 1;
+         }
+         while (true) {
+            var doc = db.nodes.findOne({_id: pathDepth(path) + ":" + path});
+            if (doc) {
+                var revStr = doc._lastRev["r0-0-" + clusterId];
+                if (revStr) {
+                    var rev = new Revision(revStr);
+                    if (lastRev && lastRev.isNewerThan(rev)) {
+                        if (dryRun) {
+                            result.push({_id: doc._id, _lastRev: rev.toString(), needsFix: lastRev.toString()});
+                        } else {
+                            var update = {$set:{}};
+                            update.$set["_lastRev.r0-0-" + clusterId] = lastRev.toString();
+                            db.nodes.update({_id: doc._id}, update);
+                            result.push({_id: doc._id, _lastRev: rev.toString(), fixed: lastRev.toString()});
+                        }
+                    } else {
+                        result.push({_id: doc._id, _lastRev: rev.toString()});
+                        lastRev = rev;
+                    }
+                }
+            }
+            if (path == "/") {
+                break;
+            }
+            var idx = path.lastIndexOf("/");
+            if (idx == 0) {
+                path = "/";
+            } else {
+                path = path.substring(0, idx);
+            }
+         }
+         return result;
+    };
+
+    var Revision = function(rev) {
+        var dashIdx = rev.indexOf("-");
+        this.rev = rev;
+        this.timestamp = parseInt(rev.substring(1, dashIdx), 16);
+        this.counter = parseInt(rev.substring(dashIdx + 1, rev.indexOf("-", dashIdx + 1)), 16);
+        this.clusterId = parseInt(rev.substring(rev.lastIndexOf("-") + 1), 16);
+    };
+
+    Revision.prototype.toString = function () {
+        return this.rev;
+    };
+
+    Revision.prototype.isNewerThan = function(other) {
+        if (this.timestamp > other.timestamp) {
+            return true;
+        } else if (this.timestamp &lt; other.timestamp) {
+            return false;
+        } else {
+            return this.counter > other.counter;
+        }
+    };
+
+    Revision.prototype.toReadableString = function () {
+        return this.rev + " (" + this.asDate().toString() + ")"
+    };
+
+    Revision.prototype.asDate = function() {
+        return new Date(this.timestamp);
+    };
+
+    Revision.prototype.getClusterId = function() {
+        return this.clusterId;
+    };
+
+    var pathDepth = function(path){
+        if(path === '/'){
+            return 0;
+        }
+        var depth = 0;
+        for(var i = 0; i &lt; path.length; i++){
+            if(path.charAt(i) === '/'){
+                depth++;
+            }
+        }
+        return depth;
+    };
+    
+    var prevDocIdFor = function(path, high, height) {
+        var p = "p" + path;
+        if (p.charAt(p.length - 1) != "/") {
+            p += "/";
+        }
+        p += high + "/" + height;
+        return (pathDepth(path) + 2) + ":" + p;
+    };
+
+    var pathFilter = function (depth, prefix){
+        return new RegExp("^"+ depth + ":" + escapeForRegExp(prefix));
+    };
+
+    var longPathFilter = function (depth, prefix) {
+        var filter = {};
+        filter._id = new RegExp("^" + depth + ":h");
+        filter._path = new RegExp("^" + escapeForRegExp(prefix));
+        return filter;
+    };
+
+    var longPathQuery = function (path) {
+        var query = {};
+        query._id = new RegExp("^" + pathDepth(path) + ":h");
+        query._path = path;
+        return query;
+    };
+
+    //http://stackoverflow.com/a/20732091/1035417
+    var humanFileSize = function (size) {
+        var i = Math.floor( Math.log(size) / Math.log(1024) );
+        return ( size / Math.pow(1024, i) ).toFixed(2) * 1 + ' ' + ['B', 'kB', 'MB', 'GB', 'TB'][i];
+    };
+    
+    // http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
+    var escapeForRegExp = function(s) {
+        return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
+    };
+
+    var getDocAndHierarchyQuery = function (path) {
+        var paths = getHierarchyPaths(path);
+
+        var ins = [];
+        var ors = [];
+        paths.forEach(function (path) {
+            ins.push(pathDepth(path) + ':' + path);
+
+            var depth = pathDepth(path);
+            var splitDocRegex = '^' + (depth+2) + ':p' + path + (depth==0?'':'/');
+
+            ors.push({_id : {$regex : splitDocRegex}});
+        });
+
+        ors.push({_id : {$in : ins}});
+
+        return {$or : ors}
+    };
+
+    var getHierarchyPaths = function (path) {
+        var pathElems = path.split("/");
+        var lastPath = "";
+        var paths = ["/"];
+
+        pathElems.forEach(function (pathElem) {
+            //avoid empty path elems like "/".split("/")->["", ""] or "/a".split("/")->["", "a"]
+            if (pathElem != "") {
+                lastPath = lastPath + "/" + pathElem;
+                paths.push(lastPath);
+            }
+        });
+
+        return paths;
+    };
+
+    return api;
+}(this));
+</code></pre>
+        </article>
+    </section>
+
+
+
+
+</div>
+
+<nav>
+    <h2><a href="index.html">Index</a></h2><h3>Namespaces</h3><ul><li><a href="oak.html">oak</a></li></ul>
+</nav>
+
+<br clear="both">
+
+<footer>
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.3-dev</a> on Tue Oct 18 2016 16:58:39 GMT+0200 (CEST)
+</footer>
+
+<script> prettyPrint(); </script>
+<script src="scripts/linenumber.js"> </script>
+</body>
+</html>
\ No newline at end of file

Propchange: jackrabbit/site/live/oak/docs/oak-mongo-js/oak-mongo.js.html
------------------------------------------------------------------------------
    svn:eol-style = native




Mime
View raw message