Mikhail Pochatkin created IGNITE-22423:
------------------------------------------

             Summary: ignite3db should not use kill -9 to stop the node
                 Key: IGNITE-22423
                 URL: https://issues.apache.org/jira/browse/IGNITE-22423
             Project: Ignite
          Issue Type: Improvement
          Components: cli
            Reporter: Mikhail Pochatkin
            Assignee: Mikhail Pochatkin


ignite3db script uses kill -9 to stop the node. This is very bad idea as it 
doesn’t let the process to close open descriptors, etc automatically. The 
script should first attempt to simply kill (SIGTERM) and then cycle for a few 
minutes waiting for the process to finish, and only then use kill -9 if the 
process is still running after that time.

 

This should also print some notification whether the node was stopped 
successully or not. As of now nothing is printed at all…



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to