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

Ability to configure the number of Elasticsearch shards

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: ElasticSearch, Scalability
    • Labels:
      None

      Description

      When the number of issues is greater than the supported baseline, then a cluster of Elasticsearch instances must be enabled and the number of shards must be increased. This process is not documented at the time being.

      The new properties follow the format "sonar.search.

      {index}.shards" and "sonar.search.{index}

      .replicas", for example:

      sonar.search.issues.shards=10
      sonar.search.issues.replicas=1
      

      Default values are 5 shards/0 replicas for single instances and 5 shards/1 replicas for clusters.

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: