Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SONAR-12952 Remove warning "Property sonar.cluster.node.port is ignored on ↵ | Duarte Meneses | 2020-04-17 | 1 | -5/+0 |
| | | | | search nodes since 7.2" | ||||
* | SONAR-13037 Stacktrace should always be available in logs | Duarte Meneses | 2020-04-17 | 5 | -5/+7 |
| | |||||
* | SONAR-13272 fix issue with setting some properties through env variables | Michal Duda | 2020-04-14 | 4 | -18/+66 |
| | |||||
* | SONAR-13078 enable configuring the server by environment variables | Michal Duda | 2020-02-22 | 3 | -38/+113 |
| | |||||
* | SONAR-12955 support IPv6 in cluster properties | Sébastien Lesaint | 2020-02-20 | 3 | -103/+386 |
| | | | | and consistently valid adresses | ||||
* | Format all headers for 2020 | Wouter Admiraal | 2020-01-07 | 112 | -112/+112 |
| | |||||
* | Fix code quality issues and reduce dependency on Guava | Duarte Meneses | 2019-12-10 | 4 | -4/+4 |
| | |||||
* | SONAR-12626 remove references to SLB | Duarte Meneses | 2019-12-09 | 2 | -2/+0 |
| | |||||
* | SONAR-12383 Selenide update to 5.2.3 and Guava update to 28.1-jre | Jacek | 2019-11-12 | 1 | -3/+3 |
| | |||||
* | fix some quality flaws on the new code period | Sébastien Lesaint | 2019-10-09 | 2 | -3/+11 |
| | |||||
* | SONAR-12344 es logs must go to stdout too when sonar.log.console=true | Sébastien Lesaint | 2019-09-27 | 1 | -0/+12 |
| | |||||
* | waiting for ES to start log must also appear upon restart | Sébastien Lesaint | 2019-09-20 | 1 | -0/+1 |
| | |||||
* | fix unstable SchedulerImpl#restart_stops_all_and_restarts_all_processes | Sébastien Lesaint | 2019-09-20 | 1 | -6/+5 |
| | |||||
* | add UT for SQ restart in SchedulerImplTest | Sébastien Lesaint | 2019-09-06 | 2 | -61/+104 |
| | |||||
* | protect ManagedProcessHandler stop finalization code with lifecycle state | Sébastien Lesaint | 2019-09-06 | 3 | -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 module | Sébastien Lesaint | 2019-09-06 | 1 | -1/+1 |
| | | | | this will be helpful as sonar-main has several concurrency testing UTs | ||||
* | logger name should appear in Unit Tests' logs | Sébastien Lesaint | 2019-09-06 | 1 | -1/+1 |
| | |||||
* | threads should have unique names to ease debugging | Sébastien Lesaint | 2019-09-06 | 1 | -2/+5 |
| | |||||
* | do not call stop finalization code without checking lifeCycle state | Sébastien Lesaint | 2019-09-06 | 2 | -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 Lesaint | 2019-09-06 | 1 | -3/+3 |
| | | | | and for the sake of clean logs, indicate CE is operational | ||||
* | add node state FINALIZE_STOPPING to sync stop finalizing code | Sébastien Lesaint | 2019-09-06 | 3 | -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 start | Sébastien Lesaint | 2019-09-06 | 1 | -2/+6 |
| | |||||
* | stop should be allowed when SQ is not yet fully operational | Sébastien Lesaint | 2019-09-06 | 3 | -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 ManagedProcessHandler | Sébastien Lesaint | 2019-09-06 | 4 | -15/+36 |
| | | | | | display Thread name more often display call stack at trace level | ||||
* | SchedulerImpl must not attempt to hard stop SQ twice concurrently | Sébastien Lesaint | 2019-09-06 | 1 | -1/+1 |
| | | | | otherwise, two hard stopping threads may interrupt each other and SQ could not stop at all | ||||
* | remove rethrow of exception in tryToStartProcess | Sébastien Lesaint | 2019-08-30 | 1 | -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 stopping | Sébastien Lesaint | 2019-08-30 | 2 | -3/+8 |
| | | | | same applies to StopWatcher thread | ||||
* | Attempt to fix FP in SchedulerImplTest | Simon Brandhof | 2019-08-29 | 1 | -1/+1 |
| | |||||
* | Fix unit tests for windows | philippe-perrin-sonarsource | 2019-07-30 | 1 | -5/+1 |
| | |||||
* | Clean deps | Duarte Meneses | 2019-07-17 | 1 | -1/+10 |
| | |||||
* | SONAR-12246 remove MySQL dialect | Simon Brandhof | 2019-07-10 | 4 | -38/+3 |
| | |||||
* | SONAR-11874 ignore inaccessible files when cleaning tmp dir | Sébastien Lesaint | 2019-06-28 | 1 | -0/+4 |
| | |||||
* | SONAR-12002 Fail startup if JRE < 11 | Duarte Meneses | 2019-06-28 | 6 | -27/+58 |
| | |||||
* | SC-702 support new property sonar.log.useJsonOutput | Simon Brandhof | 2019-06-28 | 2 | -6/+23 |
| | |||||
* | SC-702 decouple Logback appenders from encoders | Simon Brandhof | 2019-06-28 | 1 | -8/+20 |
| | |||||
* | SONAR-12002 Fail startup if JRE < 11 | Duarte Meneses | 2019-06-28 | 8 | -184/+39 |
| | |||||
* | SONAR-12108 Support Java 11 RTE | Duarte Meneses | 2019-06-28 | 2 | -4/+14 |
| | |||||
* | Fix ITs | Duarte Meneses | 2019-06-28 | 1 | -0/+2 |
| | |||||
* | Remove accidentally committed temporary files | Evgeny Mandrikov | 2019-06-28 | 1 | -0/+0 |
| | |||||
* | SONAR-12041 Display warning at startup if list of hosts is not consistent ↵ | Duarte Meneses | 2019-06-03 | 2 | -26/+31 |
| | | | | across all cluster nodes | ||||
* | SONAR-12043 Hard stop if stop takes too long | Duarte Meneses | 2019-06-03 | 7 | -59/+91 |
| | |||||
* | SONAR-12041 Display warning at startup if list of hosts is not consistent ↵ | Duarte Meneses | 2019-06-03 | 6 | -13/+368 |
| | | | | across all cluster nodes | ||||
* | SONAR-12043 Minor refactor | Duarte Meneses | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | SONAR-12043 graceful shutdown timeout configurable for ITs | Sébastien Lesaint | 2019-06-03 | 5 | -38/+71 |
| | |||||
* | SONAR-12042 app always watches for hard stop, on demand for stop | Sébastien Lesaint | 2019-06-03 | 7 | -95/+373 |
| | |||||
* | SONAR-12043 main process supports graceful and hard stop | Sébastien Lesaint | 2019-06-03 | 12 | -65/+424 |
| | |||||
* | SONAR-12043 SchedulerImpl correctly handle Thread interrupt | Sébastien Lesaint | 2019-06-03 | 4 | -28/+61 |
| | |||||
* | SONAR-12043 use only NodeLifecycle to store SQ node state | Sébastien Lesaint | 2019-06-03 | 2 | -29/+33 |
| | | | | in SchedulerImpl | ||||
* | SONAR-12043 some clarification class renaming in sonar-main module | Sébastien Lesaint | 2019-06-03 | 22 | -174/+175 |
| | |||||
* | SONAR-12043 change restartDisabled to restarting for easier understanding | Sébastien Lesaint | 2019-06-03 | 1 | -7/+6 |
| | | | | this internal flag of class SchedulerImpl is easier to understand with this name |