Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure CrateDB process gets terminated on cr8 sigterm #378

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

mfussenegger
Copy link
Owner

No description provided.

@mfussenegger mfussenegger force-pushed the run-crate-sigterm branch 3 times, most recently from cc4cef8 to 6b158e7 Compare April 8, 2024 09:48
The CrateDB process leaked if `cr8 run-crate` was killed via a SIGTERM.
For example, in a bash script like:

    cr8 run-crate latest-nightly &
    N1=$!
    while ! crash --hosts localhost:4200 -c "select 1" > /dev/null 2>&1; do
        sleep 1
    done
    jps
    kill $N1
    jps
@mfussenegger mfussenegger merged commit 9d07688 into master Apr 8, 2024
7 checks passed
@mfussenegger mfussenegger deleted the run-crate-sigterm branch April 8, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant