
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Depends upon
|
|
|
|
This issue is depended upon by:
|
|
VIEWS-31
Unable to find org.sonar.api.database.model.Snapshot with id xxxxx
|
|
|
|
|
|
|
When there are a great number of projects which are analyzed by Sonar, updating views each time a project is updated is useless, cpu consuming (and error prone when multiple analyses are done simultaneously). In such enterprise environment, is must be possible to tune the views generation mechanism :
- When a build starts to generate the views tree, a global property "views_generation_status" must be set to "PENDING" (using the DB properties table) and the global property "views_generation_date" must be update with the current date
- When this build finishes its job, "views_generation_status" must be set to "COMPLETE" and the global property "views_generation_date" must be updated
- If a build starts and "views_generation_status"="PENDING" and "views_generation_date"<currentDate()-1hour, we start a recovery mode.
- A new views plugin properties "views_generation_interval" has to be created with a default value of '0'. This value can be tuned in order to (re)generate views tree only at given interval.
|
|
Description
|
When there are a great number of projects which are analyzed by Sonar, updating views each time a project is updated is useless, cpu consuming (and error prone when multiple analyses are done simultaneously). In such enterprise environment, is must be possible to tune the views generation mechanism :
- When a build starts to generate the views tree, a global property "views_generation_status" must be set to "PENDING" (using the DB properties table) and the global property "views_generation_date" must be update with the current date
- When this build finishes its job, "views_generation_status" must be set to "COMPLETE" and the global property "views_generation_date" must be updated
- If a build starts and "views_generation_status"="PENDING" and "views_generation_date"<currentDate()-1hour, we start a recovery mode.
- A new views plugin properties "views_generation_interval" has to be created with a default value of '0'. This value can be tuned in order to (re)generate views tree only at given interval.
|
Show » |
Sort Order:
| There are no comments yet on this issue.
|
|