I've just tested Logstash 7.1.0 against my previous version 6.3.1.
I've noticed when trying to stop 7.1.0 version with SIGTERM (using --pipeline.unsafe_shutdown option ) it cannot stop. I see:
[2019-05-30T09:12:40,538][FATAL][logstash.shutdownwatcher ] Forcefully quitting logstash..
in logs but process exists and still processes events.
Logstash 6.3.1 have no problem with stopping when using --pipeline.unsafe_shutdown).
In this case in see i logs:
[2019-05-30T09:12:40,547][FATAL][logstash.shutdownwatcher ] Forcefully quitting logstash.. [2019-05-30T09:12:40,914][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
I'm not sure but seems like commit "JAVAFICATION: Ported ShutdownWatcher to Java" caused this.
Any ideas ?
Thanks in advance !