Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 9.1
-
Component/s: Compute Engine
-
Labels:
-
Edition:Community
-
Production Notes:None
Description
During async issue indexation if SonarQube instance has been stopped and it leads to marking Project Reload task as cancelled, web API "api/ce/indexation_status" returns inappropriate status, for example:
{ "isCompleted": true, "percentCompleted": 94, "hasFailures": false }
This leads to problems in UI for failed/cancelled indexation for projects.
Solution:
Short term solution is to treat cancelled tasks as failed in indexation process, so that warning banner will appear and re-indexation will be required.
See: CeActivityMapper.xml # hasAnyFailedIssueSyncTaskSql
Attachments
Issue Links
- is related to
-
SONAR-15053 /api/ce/indexation_status and /api/issue/search dont have an homogenous behaviour in case of an indexation failure
-
- Closed
-
-
SUPPORT-27604 Loading...
- links to