Skip to content

Graceful shutdownΒ #97

@uatuko

Description

@uatuko

To ensure data consistency we need to intercept terminations signals and finish serving any in-flight requests and close connections to the DB before shutting down. This is very likely to require changes to gRPCxx.

Requirements

  1. Intercept termination signals (SIGTERM, SIGINT, SIGQUIT) and;
    1. Stop accepting any further incoming requests after the termination signal
    2. Finish serving any in-flight requests
    3. Close DB connection
    4. Shutdown gracefully

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions