Skip to content

feat: enforce shutdown sequencing of components #1534

@drahnr

Description

@drahnr

We start to have more and more IO backed datastructures that are kept "alive" by free tasks. Depending on shutdown ordering, artifacts like pthread invalid arg and friends show up in CI, and during restart of components in production. We want to avoid this as much as possible and enforce ordering of shutdown tasks.

Commonly this is done via CancellationTokens (see https://tokio.rs/tokio/topics/shutdown )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions