Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lameduck mode does not work in 'no_sandbox' mode. #302

Open
NoahHahm opened this issue Jul 1, 2024 · 1 comment
Open

Lameduck mode does not work in 'no_sandbox' mode. #302

NoahHahm opened this issue Jul 1, 2024 · 1 comment
Labels
docs Improvements or additions to documentation enhancement Enhancement to existing functionality

Comments

@NoahHahm
Copy link

NoahHahm commented Jul 1, 2024

Observed behavior

hi,

After running node as a lameduck
There is no way to run a new nex node up & (background mode)

[INF] 2024-07-01 15:44:57 - Publishing node lame duck entered event

lameduck mode starts and doesn't end.
the only way is to forcefully terminate the nex process.

Expected behavior

The node should shut down gracefully in no_sandbox mode.

Nex and NATS version

nex --version
v0.2.5 [27f46b4] | Built-on: 2024-06-14T20:34:24Z

Host environment

No response

Steps to reproduce

No response

@NoahHahm NoahHahm added the defect Suspected defect such as a bug or regression label Jul 1, 2024
@NoahHahm NoahHahm changed the title Lame duck mode does not work in 'no_sandbox' mode. Lameduck mode does not work in 'no_sandbox' mode. Jul 1, 2024
@jordan-rash
Copy link
Contributor

Hi @NoahHahm. The command behaves this way on purpose in order to allow you to move workloads from one node to another. We have talked about shutting down the node once no workloads were detected, but we haven't implemented that yet. However, to your point, in order to make it match the behavior of nats-server, I expect we will eventually make the behaviors mirror one another. I will leave this issue open as a tracker...let us refine some of the "workload migration" documentation, then we can revisit this feature at that time

@jordan-rash jordan-rash added docs Improvements or additions to documentation enhancement Enhancement to existing functionality and removed defect Suspected defect such as a bug or regression labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation enhancement Enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants