You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2016/07/14 11:16:20 UTC

[jira] [Commented] (OAK-4169) Make the bulk createOrUpdate retry count configurable in Mongo

    [ https://issues.apache.org/jira/browse/OAK-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376785#comment-15376785 ] 

Tomek Rękawek commented on OAK-4169:
------------------------------------

Backported to 1.4 in [r1752619|https://svn.apache.org/r1752619].

> Make the bulk createOrUpdate retry count configurable in Mongo
> --------------------------------------------------------------
>
>                 Key: OAK-4169
>                 URL: https://issues.apache.org/jira/browse/OAK-4169
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>             Fix For: 1.6, 1.5.2, 1.4.6
>
>         Attachments: OAK-4169.patch
>
>
> The bulk createOrUpdate() introduced in OAK-2066 retries the bulk request up to 3 times if there are conflicts. However, after performing tests in AEM it seems that if the 1st fails, the remaining documents causes the 2nd and the 3rd round to fail as well. Therefore we shouldn't retry the bulk requests by default. Let's add a new parameter {{oak.mongo.bulkRetries}}, set to 0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)