Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8092

Improve reliability of bulk indexing during server startup

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: ElasticSearch
    • Labels:

      Description

      Reliability of Elasticsearch bulk indexing on client side (web server) can be improved by :

      • retrying to send the failed index requests. See the BackoffPolicy of class BulkProcessor in Elasticsearch codebase.
      • sizing the max number of concurrent requests according to the nb of shards in index. The implementation of SONAR-8075 currently hardcodes #maxShards=5 in the formula, whereas it depends on index. Note that nb of shards can be changed, and be greater than 5, in cluster mode with the properties sonar.search.*.shards.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel.schwarz Daniel Schwarz (Inactive)
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: