Author: amitj
Date: Tue Feb 16 04:20:35 2016
New Revision: 1730629

URL: http://svn.apache.org/viewvc?rev=1730629&view=rev
Log:
OAK-4007: "reset clusterId tool" in oak-run

Added documentation in readme

Modified:
    jackrabbit/oak/trunk/oak-run/README.md

Modified: jackrabbit/oak/trunk/oak-run/README.md
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/README.md?rev=1730629&r1=1730628&r2=1730629&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/README.md (original)
+++ jackrabbit/oak/trunk/oak-run/README.md Tue Feb 16 04:20:35 2016
@@ -26,7 +26,8 @@ The following runmodes are currently ava
     * garbage         : Identifies blob garbage on a DocumentMK repository
     * tarmkdiff       : Show changes between revisions on TarMk
     * tarmkrecovery   : Lists candidates for head journal entries
-    * dumpdatastorerefs : Dump all the blob references used to a file  
+    * dumpdatastorerefs : Dump all the blob references used to a file 
+    * resetclusterid  : Resets the cluster id   
     * help            : Print a list of available runmodes
     
 
@@ -974,6 +975,16 @@ Dumps all the DataStore/BlobStore refere
 
 This will create a dump file with name starting with 'marked-'.The dump path 
is optional and if not specified the file will be created in the user tmp 
directory.
 
+Reset Cluster Id
+---------------
+
+Resets the cluster id generated internally. Use the following command after 
stopping the server
+
+    $ java -jar oak-run-*.jar resetclusterid \
+            { /path/to/oak/repository | mongodb://host:port/database }
+
+The cluster id will be removed and will be generated on next server start up.
+
 License
 -------
 


Reply via email to