Skip to content

Add a decdn node drain subcommand that stops accepting new connections and waits for in-flight transfers to complete before shutdown #244

Closed

Description

@alpergundogdu

Filed via GitDailyReporterBot

Activity

  1. added
    kind:feature
    on Apr 15, 2026
  2. alpergundogdu commented on Apr 23, 2026

    @alpergundogdu
    ContributorAuthor

    Transport + CLI scaffolding for this landed in #260 (ADR 025). Drain can ship as:

    • admin_v1_drain added as a method on the AdminRpc trait in crates/node/src/admin.rs — no new ADR needed; ADR 025's "Future methods" section already anticipates it.
    • decdn node drain subcommand in crates/node/src/cli/node.rs + crates/node/src/commands/node.rs, invoking it via the generated AdminRpcClient — mirror the admin_v1_peersList / decdn node peers pair.

    No new transport, no new ADR.

  3. self-assigned this
    on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:feature

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions