Issue Details (XML | Word | Printable)

Key: VIEWS-29
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Simon Brandhof
Reporter: Freddy Mallet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Views

Prevent unnecessary views generation/computation

Created: 20/Jan/10 11:36 AM   Updated: 01/Mar/10 11:16 AM   Resolved: 26/Feb/10 12:16 PM
Component/s: Batch
Affects Version/s: None
Fix Version/s: 1.3

Issue Links:
Depends upon
 


 Description  « Hide

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.


Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.