sonarqube - Snapshots not deleted in Sonar -
I have a sonar project with snapshots compared to a year ago The problem is that old snofsters are not being removed That is, the (which I think) sonacruch actually causes a slow down. My database cleaner configuration is set to default on all settings.
When I run a sonar runner from a griddle task, it also outputs it:
... 11: 23: 18.072 Debut - Post-job: Org.sonar.plugins.dbcleaner.ProjectPostJob@1ffdfd - & gt; Org.sonar.plugins.issueassign.notification.SendIssueNotificationsPostJob@140401 - & gt; Org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob@c5f5c2- & gt; Org.sonar.plugins.core.batch.IndexProjectPostJob@19261ea11: 23: 18.072 Information - Post-Job Class org.sonar.plugins.dbcleaner.ProjectPurgePostJob executed 11: 23: 18.503 information - - & gt; Keep a snapshot every day between 2014-09-12 and 2014-10-09 11: 23: 18.507 INFO - - & gt; Keep a snapshot per week between 2013-10-11 and 2014-09-12 11: 23: 18.513 information - - & gt; 2009-10-16 and 2013-10-11 11: 23: 18.523 Keep a snapshot per month between information - - & gt; Before deleting data: 2009-10-16 11: 23: 18.524 debug - ==> Preparation: * Select from projects where p.id =? 11: 23: 18.524 debug - ==> Parameter: 1 (Long) 11: 23: 18.526 Debug - & lt; == Total: 1 11: 23: 18.526 Debug - ==> Preparation: * Choose from projects, where scope = 'PRJ' and root_ID =? 11: 23: 18.526 debug - ==> Parameter: 1 (Long) 11: 23: 19.19 Loans - & lt; == Total: 186 11: 23: 19.19 Loans - ==> Preparation: * Choose from projects, where scope = 'PRJ' and root_ID =? 11: 23: 19.19 Loans - ==> Parameter: 2 (long) 11: 23: 19.222bb - & lt; == Total: 0 ... 11: 23: 19.966 debug - ==> Preparation: * Choose from projects, where scope = 'PRJ' and root_ID =? 11: 23: 19, 9 66 debuting - ==> Parameter: 11658 (Long) 11: 23: 19.967 Debug - & lt; == Total: 0 ... It leads me to believe that the project is configured correctly. However, the old data has not been removed only. I crank the log level and saw it in the sonar.log file, but I did not get any error message. However, I do not see any SQL queries that try to delete the old snapshot.
SonarCube uses a MySQL database running on the same server.
I am running Sonakubbec 4.5 and SonarRunner 2.3
Edit: Here is a small part of the snapshot page in the sonar (small part)
In this screenshot, I want to keep only 1 snapshot per week. Note that the snapshot that contains an event is
Note that the snapshot contains an event until you
Comments
Post a Comment