sonarqube license: * Data Center Edition
- Version 9.9.4 (build 87374)
For cpp projects we are facing some issues with the cache. Sometimes the analysis last 3 min but other times it last for 70-90 minutes.
We have detected that the issue is the cache. For some reason is invalidated at some point.
We are working with branching analysis, and following the documentation for every single new branch, if there is no cache, it should use the master one. It works like that sometimes. We are doing more and more test, but something that is not helping at all is the fact that there are two nodes, and maybe it is cached in one of them, but not in the other. There is a way to synch the cache between both nodes?
We are using this config:
sonar.cfamily.analysisCache.mode=server
sonar.cfamily.threads not defined.