aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main
Commit message (Collapse)AuthorAgeFilesLines
* Fix code quality issues and reduce dependency on GuavaDuarte Meneses2019-12-104-4/+4
|
* SONAR-12626 remove references to SLBDuarte Meneses2019-12-092-2/+0
|
* SONAR-12383 Selenide update to 5.2.3 and Guava update to 28.1-jreJacek2019-11-121-3/+3
|
* fix some quality flaws on the new code periodSébastien Lesaint2019-10-092-3/+11
|
* SONAR-12344 es logs must go to stdout too when sonar.log.console=trueSébastien Lesaint2019-09-271-0/+12
|
* waiting for ES to start log must also appear upon restartSébastien Lesaint2019-09-201-0/+1
|
* fix unstable SchedulerImpl#restart_stops_all_and_restarts_all_processesSébastien Lesaint2019-09-201-6/+5
|
* add UT for SQ restart in SchedulerImplTestSébastien Lesaint2019-09-062-61/+104
|
* protect ManagedProcessHandler stop finalization code with lifecycle stateSébastien Lesaint2019-09-063-44/+99
| | | | | since this code is interrupting other threads, this ensures concurrent threads attempting to run this code will never interrupt each other leading to unpredictable and unreproducible behavior
* display thread name in Unit Tests' logs of sonar-main moduleSébastien Lesaint2019-09-061-1/+1
| | | | this will be helpful as sonar-main has several concurrency testing UTs
* logger name should appear in Unit Tests' logsSébastien Lesaint2019-09-061-1/+1
|
* threads should have unique names to ease debuggingSébastien Lesaint2019-09-061-2/+5
|
* do not call stop finalization code without checking lifeCycle stateSébastien Lesaint2019-09-062-22/+12
| | | | this avoid having multiple thread call the stope finalization concurrently and killing each other, which is unpredictable and very hard to reproduce behavior
* remove dead code in SchedulerImplTest (and fix imports)Sébastien Lesaint2019-09-061-3/+3
| | | | and for the sake of clean logs, indicate CE is operational
* add node state FINALIZE_STOPPING to sync stop finalizing codeSébastien Lesaint2019-09-063-61/+161
| | | | | this prevents concurrent threads to shutdown each other this removes a test on NodeLifecycle.getState() which could be unthreadsafe and keep all lifeCycle logic in NodeLifecycle class
* remove duplicate attempts to stop process which failed to startSébastien Lesaint2019-09-061-2/+6
|
* stop should be allowed when SQ is not yet fully operationalSébastien Lesaint2019-09-063-2/+13
| | | | | | this allows to keep stop code behing lifecycle transition test which prevents multiple stop sequence to be initiated in parallel from different thread which may interrupt each other and create unstable behaviors (with cryptic non reproducible errors)
* improve logs to help debug SchedulerImpl and ManagedProcessHandlerSébastien Lesaint2019-09-064-15/+36
| | | | | display Thread name more often display call stack at trace level
* SchedulerImpl must not attempt to hard stop SQ twice concurrentlySébastien Lesaint2019-09-061-1/+1
| | | | otherwise, two hard stopping threads may interrupt each other and SQ could not stop at all
* remove rethrow of exception in tryToStartProcessSébastien Lesaint2019-08-301-1/+0
| | | | | | rethrowing is effectively useless as no called will catch the exception in practice, it is caught by the default exception handle of technical thread involved in scheduler SQ start/stop and logged to default logger this is just noise as the error has been logged by ManagedProcessHandler's start method anyway.
* Event thread must not interrupt itself when hard stoppingSébastien Lesaint2019-08-302-3/+8
| | | | same applies to StopWatcher thread
* Attempt to fix FP in SchedulerImplTestSimon Brandhof2019-08-291-1/+1
|
* Fix unit tests for windowsphilippe-perrin-sonarsource2019-07-301-5/+1
|
* Clean depsDuarte Meneses2019-07-171-1/+10
|
* SONAR-12246 remove MySQL dialectSimon Brandhof2019-07-104-38/+3
|
* SONAR-11874 ignore inaccessible files when cleaning tmp dirSébastien Lesaint2019-06-281-0/+4
|
* SONAR-12002 Fail startup if JRE < 11Duarte Meneses2019-06-286-27/+58
|
* SC-702 support new property sonar.log.useJsonOutputSimon Brandhof2019-06-282-6/+23
|
* SC-702 decouple Logback appenders from encodersSimon Brandhof2019-06-281-8/+20
|
* SONAR-12002 Fail startup if JRE < 11Duarte Meneses2019-06-288-184/+39
|
* SONAR-12108 Support Java 11 RTEDuarte Meneses2019-06-282-4/+14
|
* Fix ITsDuarte Meneses2019-06-281-0/+2
|
* Remove accidentally committed temporary filesEvgeny Mandrikov2019-06-281-0/+0
|
* SONAR-12041 Display warning at startup if list of hosts is not consistent ↵Duarte Meneses2019-06-032-26/+31
| | | | across all cluster nodes
* SONAR-12043 Hard stop if stop takes too longDuarte Meneses2019-06-037-59/+91
|
* SONAR-12041 Display warning at startup if list of hosts is not consistent ↵Duarte Meneses2019-06-036-13/+368
| | | | across all cluster nodes
* SONAR-12043 Minor refactorDuarte Meneses2019-06-031-1/+1
|
* SONAR-12043 graceful shutdown timeout configurable for ITsSébastien Lesaint2019-06-035-38/+71
|
* SONAR-12042 app always watches for hard stop, on demand for stopSébastien Lesaint2019-06-037-95/+373
|
* SONAR-12043 main process supports graceful and hard stopSébastien Lesaint2019-06-0312-65/+424
|
* SONAR-12043 SchedulerImpl correctly handle Thread interruptSébastien Lesaint2019-06-034-28/+61
|
* SONAR-12043 use only NodeLifecycle to store SQ node stateSébastien Lesaint2019-06-032-29/+33
| | | | in SchedulerImpl
* SONAR-12043 some clarification class renaming in sonar-main moduleSébastien Lesaint2019-06-0322-174/+175
|
* SONAR-12043 change restartDisabled to restarting for easier understandingSébastien Lesaint2019-06-031-7/+6
| | | | this internal flag of class SchedulerImpl is easier to understand with this name
* SONAR-12043 move hard stop timeout out of SQProcess#hardstop argumentsSébastien Lesaint2019-06-033-8/+62
| | | | | timeout is instead configured as state of SQProcess instance this will allow calling hardStop with the right timeout from another method of SQProcess (the incoming stop() method)
* SONAR-12043 rename current shutdown code from stop to hardStopSébastien Lesaint2019-06-0313-91/+88
|
* SONAR-12037 Run cluster ITs on CirrusDuarte Meneses2019-06-032-0/+15
|
* Minor fixes to main appDuarte Meneses2019-06-038-75/+39
|
* SONAR-11264 don't enforce ES bootstrap checks when connecting to H2Sébastien Lesaint2019-05-242-1/+34
|
* SONAR-11264 enforce ES boostrap checks on all editionsSébastien Lesaint2019-05-234-18/+40
|