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

Pause individual partitions separately #9961

Open
npepinpe opened this issue Aug 3, 2022 · 2 comments
Open

Pause individual partitions separately #9961

npepinpe opened this issue Aug 3, 2022 · 2 comments
Labels
component/partition-transitions component/zeebe Related to the Zeebe component/team kind/feature Categorizes an issue or PR as a feature, i.e. new behavior

Comments

@npepinpe
Copy link
Member

npepinpe commented Aug 3, 2022

Is your feature request related to a problem? Please describe.

We had an incident where we needed to pause partitions, which works great, but we only wanted to pause a single one. When you pause all partitions, it can then create problems on others which may be healthy/fine unnecessarily.

Describe the solution you'd like

I'd like to be able to not only pause all partitions, but also pause partitions individually, where I can do:

  • curl -XPOST http://localhost:9600/actuator/partitions/1/pauseProcessing
  • curl -XPOST http://localhost:9600/actuator/partitions/1/resumeProcessing
  • curl -XPOST http://localhost:9600/actuator/partitions/1/pauseExporting
  • curl -XPOST http://localhost:9600/actuator/partitions/1/resumeExporting

Describe alternatives you've considered

We can carefully rebalance the cluster until we have a node which is leader for only the partition we want to pause, but that's brittle and time consuming.

Additional context

https://docs.google.com/document/d/1EsGS-SXGLf1iInHLmCr0saQBLlxz1o5DYjpy5Q50wmQ/

@npepinpe npepinpe added the kind/feature Categorizes an issue or PR as a feature, i.e. new behavior label Aug 3, 2022
@menski
Copy link
Contributor

menski commented Aug 5, 2022

we should reevaluate after #9996 was scoped and maybe implemented

@Zelldon
Copy link
Member

Zelldon commented Jan 3, 2023

This would also be interesting for chaos experiments.

@romansmirnov romansmirnov added the component/zeebe Related to the Zeebe component/team label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/partition-transitions component/zeebe Related to the Zeebe component/team kind/feature Categorizes an issue or PR as a feature, i.e. new behavior
Projects
None yet
Development

No branches or pull requests

4 participants