Skip to content

Conversation

bpkroth
Copy link
Collaborator

@bpkroth bpkroth commented Dec 21, 2022

This is a minor tweak to the docker image entrypoint script so that pid 1 in the container becomes the java process running the benchbase jar.
This is important so that when docker stop or kubectl delete is executed and a SIGTERM is delivered to pid 1 in the container, the bash script is no longer responsible for handling and passing the signal on to the child processes (e.g. java).
Without this, the container runtime needs to wait for the timeout and issue a SIGKILL before the java process ends.

@bpkroth bpkroth merged commit 7c70b4d into cmu-db:main Mar 17, 2023
@bpkroth bpkroth deleted the signal-handling-fixup branch March 17, 2023 16:08
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.

1 participant