Garage does not handle SIGTERM, only SIGINT #396
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#396
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Garage does not get the shutdown signal in Docker, as a consequence, it does not exit cleanly.
Steps to reproduce:
Garage does not get the shutdown signal in Dockerto Garage does not handle SIGTERM, only SIGINTInteresting behavior:
when running Garage outside of Docker, sending a SIGTERM terminates Garage immediately without going through the shutdown phase
when running Garage inside of Docker, the SIGTERM is simply ignored
SIGINT works both inside and outside of Docker.