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

Ability to configure the number of Elasticsearch shards

    XMLWordPrintable

    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 (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: