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

Increase default timeout for elasticsearch index update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.40.0
    • None
    • elastic-search, indexing
    • None

    Description

      Currently we have the following retry configuration for elastichsearch:

          public static final String BULK_RETRIES = "bulkRetries";
          public static final int BULK_RETRIES_DEFAULT = 3;
      
          public static final String BULK_RETRIES_BACKOFF = "bulkRetriesBackoff";
          public static final long BULK_RETRIES_BACKOFF_DEFAULT = 200;
      

      This does not really protect against network hiccups which can take longer. I would suggest either 5 retries with 500 backoff or 3 retries with 1s backoff.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chibulcu Paul Chibulcuteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: