-
Notifications
You must be signed in to change notification settings - Fork 99
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
stream mgmt: expose CANCEL_MOVE nicely #724
Comments
We have hit a use case for this in some instances. This would be nice to have. |
Question, how are you initiating moves? CLI also does not allow initiating moves using the move API. The reason these 2 APIs are not in the So asking a bit more about how its used so I can see what I can do. |
Ah, a stream update in the account can initiate the move. This API is really bad, I might need to look at getting some fixes into the server before I am happy to add it to the CLI. Thing like when the server isn't clustered it will just timeout etc |
The common way that I have seen to move a stream is to update the placement tags.
|
I would simply not use this feature tbh. If you initiate a stream move due to other things like changing the placement cluster, and you cancel the move the stream config reflects the new cluster cofig but the stream gets put back in the original cluster with now an inconsistent config vs reality. So I am not adding this to the CLI till we revisit how this work sorry, @jarretlavallee if you could please make some issue in the server?
I really would not advise using this :) |
That is fair. The only times I have had to use it was in response to stalled moves and other failures. It has been a recovery option in those scenarios. I understand that if it is in the CLI, it could be used operationally and cause the issues above. |
Request from you-know-who via me: give
nats stream
a subcommand or option there-of to syntactically sugar the cancel a move:Tested and confirmed this works in both system and stream-owner accounts.
The text was updated successfully, but these errors were encountered: