Reindexing
Starting SonarQube after an upgrade or after a restore from a backup triggers a rebuild of the Elasticsearch indexes.
Project, application, and portfolio availability
Projects and applications become available as they are reindexed. Before that, they are grayed out in the UI.
Portfolios become available once all projects are indexed.
SonarQube uses analysis dates to determine which projects to prioritize during reindexing. Your projects with the most recent analysis dates are the first to become available in the UI.
Administrators can track the full reindexing progress within the banner displayed in SonarQube.
Running analyses during reindexing
Reindexing starts once SonarQube is up and running. You can run analyses on your projects on the CI side while indexes are being rebuilt. The processing of analysis results takes priority over reindexing tasks, so your SonarQube instance is effectively operational.
Administrators can check the progress of these analyses in Administration > Projects > Background tasks.
Quality gate timeout
When calculating the quality gate of a project that is actively being indexed, SonarQube will finish indexing to allow computation to complete before returning quality gate status. If the indexing does not finish by the Quality Gate timeout setting, then the Quality Gate will time out.
© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.