[ 
https://issues.apache.org/jira/browse/IGNITE-22423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854426#comment-17854426
 ] 

Mikhail Pochatkin commented on IGNITE-22423:
--------------------------------------------

Merged to main 2d6aa577abcd095108f4557fc5bfa690c07cd037

> 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
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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