Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4169

Make the bulk createOrUpdate retry count configurable in Mongo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.6, 1.5.2, 1.6.0
    • mongomk
    • None

    Description

      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.

      Attachments

        1. OAK-4169.patch
          1 kB
          Tomek Rękawek

        Activity

          People

            tomek.rekawek Tomek Rękawek
            tomek.rekawek Tomek Rękawek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: