[
https://issues.apache.org/jira/browse/OAK-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498799#comment-13498799
]
Michael Dürig commented on OAK-451:
-----------------------------------
I suggest something along the lines of
{code}
@@ -37,7 +36,7 @@
* Number of content updates that need to happen before the updates
* are automatically committed to a branch in the MicroKernel.
*/
- private static final int UPDATE_LIMIT = 10000;
+ private static final int UPDATE_LIMIT = 0;
private final MicroKernel kernel;
@@ -63,7 +62,7 @@
@Override
protected void updated() {
- if (updates++ > UPDATE_LIMIT) {
+ if (UPDATE_LIMIT != 0 && updates++ > UPDATE_LIMIT) {
CopyAndMoveAwareJsopDiff diff = new CopyAndMoveAwareJsopDiff();
compareAgainstBaseState(diff);
diff.processMovesAndCopies();
{code}
> Disable update functionality in KernelRootBuilder
> -------------------------------------------------
>
> Key: OAK-451
> URL: https://issues.apache.org/jira/browse/OAK-451
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: Michael Dürig
> Assignee: Michael Dürig
>
> The update logic in {{KernelRootBuilder}} is work in progress and not yet
> fully functional. Since it duplicates similar logic from {{RootImpl}} I
> suggest to disable it for the time being. See also
> http://markmail.org/message/5e6a5r7iulwma4e2.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira