moby / moby/swarmkit

Agent should be able to send graceful shutdown to master

Open
#183 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3.7k
Forks
676
Avg merge
4d 9h
Merged PRs (30d)
6

Description

If an agent shuts down gracefully, it should be able to notify the dispatcher that it is going down. This will avoid waiting for heartbeat before rescheduling an agent's tasks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how an agent shuts down, how the dispatcher detects missed heartbeats, and where tasks are rescheduled. Determine the existing agent-to-dispatcher communication path and define completion as graceful shutdown causing prompt notification and task rescheduling without waiting for the heartbeat timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.