[jira] [Updated] (OAK-2500) checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js
[ https://issues.apache.org/jira/browse/OAK-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger updated OAK-2500: -- Fix Version/s: (was: 1.0.13) 1.1.8 We do not maintain the version in the 1.0 branch and the [documentation|http://jackrabbit.apache.org/oak/docs/command_line.html] refers to the trunk version. > checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js > --- > > Key: OAK-2500 > URL: https://issues.apache.org/jira/browse/OAK-2500 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Affects Versions: 1.0.8 >Reporter: Stefan Egli >Assignee: Marcel Reutegger > Fix For: 1.1.8 > > Attachments: oak-mongo-mod.js > > > The oak-mongo.js currently contains checkHistory/fixHistory which are > cleaning up 'dangling revisions/split-documents' on a particular path. > Now it would be good to have a command that goes through the entire > repository and checks/fixes these dangling revisions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2500) checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js
[ https://issues.apache.org/jira/browse/OAK-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated OAK-2500: - Affects Version/s: 1.0.8 > checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js > --- > > Key: OAK-2500 > URL: https://issues.apache.org/jira/browse/OAK-2500 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Affects Versions: 1.0.8 >Reporter: Stefan Egli > Fix For: 1.0.13 > > Attachments: oak-mongo-mod.js > > > The oak-mongo.js currently contains checkHistory/fixHistory which are > cleaning up 'dangling revisions/split-documents' on a particular path. > Now it would be good to have a command that goes through the entire > repository and checks/fixes these dangling revisions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2500) checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js
[ https://issues.apache.org/jira/browse/OAK-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated OAK-2500: - Fix Version/s: 1.0.13 > checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js > --- > > Key: OAK-2500 > URL: https://issues.apache.org/jira/browse/OAK-2500 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Affects Versions: 1.0.8 >Reporter: Stefan Egli > Fix For: 1.0.13 > > Attachments: oak-mongo-mod.js > > > The oak-mongo.js currently contains checkHistory/fixHistory which are > cleaning up 'dangling revisions/split-documents' on a particular path. > Now it would be good to have a command that goes through the entire > repository and checks/fixes these dangling revisions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2500) checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js
[ https://issues.apache.org/jira/browse/OAK-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Egli updated OAK-2500: - Attachment: oak-mongo-mod.js Attaching a suggested, modified version of oak-mongo.js which contains these three new methods: * oak.checkDeepHistory: this one goes through the entire subtree starting at a particular path and calls oak.checkHistory on each of the nodes * oak.prepareDeepHistory: this one is similar to checkDeepHistory, except that the output is ready for fixing all affected nodes - ie the output consists of "oak.fixHistory" with each affected path - which can then be executed in a second phase to actually fix the nodes. This can be used to run against a mongo-secondary for example - and the resulting output can be run against a primary * oak.fixDeepHistory: this one goes through the entire subtree starting at a particular path and calls oak.fixHistory on each of the nodes. > checkDeepHistory/fixDeepHistory/prepareDeepHistory for oak-mongo.js > --- > > Key: OAK-2500 > URL: https://issues.apache.org/jira/browse/OAK-2500 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: run >Reporter: Stefan Egli > Attachments: oak-mongo-mod.js > > > The oak-mongo.js currently contains checkHistory/fixHistory which are > cleaning up 'dangling revisions/split-documents' on a particular path. > Now it would be good to have a command that goes through the entire > repository and checks/fixes these dangling revisions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)