Narnia_Optimus
Narnia_Optimus

Reputation: 448

Maximum values of SonarQube DB Cleaner's Keys/Constants

SonarQube is automatically deleting measurement data for files for the older snapshots. When a new snapshot is taken, the old one get deleted. I can see measurement data for files only for the latest snapshot. My db cleaner settings are as as below.

Database Cleaner Settings

What are the maximum allowed values for the keys/constants? Am I using too high value for the keys that they somehow overflow and does not work? What should I do if I do not want SonarQube to auto delete any measurement data for older snapshots?

I am using SonarQube version: 6.0.

Upvotes: 0

Views: 122

Answers (1)

Simon Brandhof
Simon Brandhof

Reputation: 5136

Automatic clean-up of old analysis cannot be disabled. Still setting high values like 100'000 (days) means that analysis are kept during 274 years. Maybe the ability to disable auto-cleaning will be implemented during this period.

Upvotes: 3

Related Questions