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 "Paul Chibulcuteanu (Jira)" <ji...@apache.org> on 2021/07/20 11:13:00 UTC

[jira] [Created] (OAK-9504) Increase default timeout for elasticsearch index update

Paul Chibulcuteanu created OAK-9504:
---------------------------------------

             Summary: Increase default timeout for elasticsearch index update
                 Key: OAK-9504
                 URL: https://issues.apache.org/jira/browse/OAK-9504
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: elastic-search, indexing
    Affects Versions: 1.40.0
            Reporter: Paul Chibulcuteanu


Currently we have the following retry configuration for elastichsearch:
{code}
    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;
{code}
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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)