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

Enforce ElasticSearch bootstrap checks in production (possibly leading to startup failure)

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      When the database is not H2, we should enforce Elasticsearch's bootstrap checks.

      Doing so means that if you're not following the ES requirements for, for instance, max file handles on Linux, the server will not start up. This sounds harsh, but according to the ES docs, not following the requirement for file handles

      can be disastrous and will most probably lead to data loss

      and not following the requirement for mmapfs

      may result in out of memory exceptions.

      So rather than allowing our users get themselves into a bad state, we should enforce the requirements of our underlying components.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                ann.campbell.2 Ann Campbell
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: