I use Windows 10.
Sources version is current master (53538747b434eb30ab93e9715bfd120f9521b20b).
I launch Elasticsearch using "gradlew run" command.
It works fine, there are no errors and I can see a response in the browser.
Then I press "Ctrl+C" in the terminal. It asks "Terminate batch job (Y/N)?", I print "Y" and it stops.
However, it seems some processes still linger.
If I try running "gradlew run" again, it fails because files in "distribution\build\cluster\run node0" folder are locked by some process.
I can't remove this folder manually as well. I can do it only after finding and killing the process that uses it.
Am I doing something wrong?
What is the proper way to shut down Elasticsearch?