apache / apache/maven-mvnd

Support graceful stop

Open
#595 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

Currently, `mvnd --stop` will stop all background tasks.

We should, like `ssh -O` option's behavior:
* use `mvnd --stop` as "request the master to stop accepting further request"
* use `mvnd --exit` as "request the master and tasks to exit"

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the command handling for `mvnd --stop` and trace how the master and background tasks are currently stopped. Compare the desired `--stop` and `--exit` behaviors with the existing shutdown flow; done means `--stop` rejects new requests while allowing tasks to finish, and `--exit` stops both the master and tasks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.