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

Graceful shutdown not supported #289

Open
ajatprabha opened this issue Jun 21, 2021 · 0 comments
Open

Graceful shutdown not supported #289

ajatprabha opened this issue Jun 21, 2021 · 0 comments

Comments

@ajatprabha
Copy link

Description

The current SIGTERM handler function doesn't honour apps/v1.StatefulSet.spec.template.spec.terminationGracePeriodSeconds field to allow graceful shutdown

Expected behaviour

  • There should be a DOCKER_VERNEMQ_ env var that can allow adding --timeout=${apps/v1.StatefulSet.spec.template.spec.terminationGracePeriodSeconds}

Actual behaviour

  • The leave command doesn't allow for specifying a way to wait for grace period and exits after 60 seconds.
    /vernemq/bin/vmq-admin cluster leave node=$terminating_node_name -k && rm -rf /vernemq/data/*
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

No branches or pull requests

1 participant