Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.14
-
Component/s: Database, DB Cleaner
-
Labels:None
-
Environment:Sonar triggered from Hudson builds, running on Linux server
-
Number of attachments :
Description
Since version 2.5 of Sonar, in our Hudson/Sonar continuous integration build environment the following problem occurs:
When two or more builds are created simultaneously and also the Sonar parts of the builds are running in parallel, then these builds regularly lock each other.
For example, if we have a large project being built, which takes a long time, before all the Sonar checks are finished, and we then start the build of a small project, then this build will block in the PurgeDependencies step of the Sonar run, until it gets a timeout or the large build is killed.
See the attached log excerpts for details. A heap dump was triggered for the large project build to be able to see, which threads are locked.
Issue Links
- depends upon
-
SONAR-2757
Refactor the purge mechanisms to prevent any fullscan SQL requests on snapshots table
-
- is depended upon by
-
SONAR-2961
Fail silently when deadlock happens during a purge
-
- is related to
-
SONAR-3043
Do not purge snapshots systematically
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Olivier Gaudin [ ogaudin ] |
| Priority | Critical [ 2 ] | Major [ 3 ] |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Cannot Reproduce [ 5 ] |
| Resolution | Cannot Reproduce [ 5 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Link |
This issue is depended upon by |
| Link |
This issue is related to |
| Fix Version/s | 2.14 [ 18034 ] |
| Assignee | Olivier Gaudin [ ogaudin ] | Simon Brandhof [ simon.brandhof ] |
| Link |
This issue depends upon |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |