Hi guys,
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.
https://github.com/elastic/logstash/commit/417afd1c5a8d5891f83727828a6488a1dacf622f#diff-61fab6130487b7386c7d23f398bcf7ed
Any ideas ?
Thanks in advance !