You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2018/05/23 09:35:29 UTC
svn commit: r1832089 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md
Author: mreutegg
Date: Wed May 23 09:35:29 2018
New Revision: 1832089
URL: http://svn.apache.org/viewvc?rev=1832089&view=rev
Log:
OAK-301 - Document Oak
Fix documentation on lease update interval. The lease is renewed every ten seconds.
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md?rev=1832089&r1=1832088&r2=1832089&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/documentmk.md Wed May 23 09:35:29 2018
@@ -511,8 +511,8 @@ ran. Old entries are kept so that if a c
cluster node id as before (which is not strictly needed for consistency, but nice for
support, if one would want to find out which change originated from which cluster node).
-Each running cluster node updates the lease time of the cluster node id once every minute,
-to ensure each cluster node uses a different cluster node id.
+Each running cluster node updates the lease end time of the cluster node id every
+ten seconds, to ensure each cluster node uses a different cluster node id.
> db.clusterNodes.find().pretty()
@@ -534,7 +534,7 @@ to ensure each cluster node uses a diffe
}
The `_id` is the cluster node id of the node, which is the last part of the revision id.
-The `leaseEnd` is updated once per minute by running cluster nodes. It is the number
+The `leaseEnd` is updated every ten seconds by running cluster nodes. It is the number
of milliseconds since 1970.
The `instance` is the current working directory.
The `machine` is the lowest number of the network addresses,