We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
EITHER rpk cluster partitions move --cancel OR rpk cluster partitions movement-cancel.
rpk cluster partitions move --cancel
rpk cluster partitions movement-cancel
Corresponding admin API endpoint: POST /v1/cluster/cancel_reconfigurations.
POST /v1/cluster/cancel_reconfigurations
Query parameters: none
Response: a list of partition_result objects.
partition_result
Response example:
[ { "ns": "kafka", "topic": "foo", "partition": 1, "result": "cluster::errc:0" }, { "ns": "kafka", "topic": "foo", "partition": 4, "result": "cluster::errc:0" } ]
In case of error a standard admin API response is returned, example:
{ "message": "Unexpected error: rpc::errc::exponential_backoff", "code": 500 }
Corresponding admin API endpoint: POST /v1/brokers/{id}/cancel_partition_moves.
POST /v1/brokers/{id}/cancel_partition_moves
Query parameters:
id
Response: the same as in scenario 1.
Corresponding admin API endpoints
POST /v1/partitions/{namespace}/{topic}/{partition}/cancel_reconfiguration
POST /v1/partitions/{namespace}/{topic}/{partition}/unclean_abort_reconfiguration
namespace
topic
partition
Response: empty if successful, otherwise standard admin API error response.
Note: force-abort versions of scenario 1 and scenario 2 need to be implemented too, but redpanda support is not ready yet (tracking in #5782)
The text was updated successfully, but these errors were encountered:
cc @mmaslankaprv
Sorry, something went wrong.
twmb
Successfully merging a pull request may close this issue.
EITHER
rpk cluster partitions move --cancel
ORrpk cluster partitions movement-cancel
.Scenario 1: cancel all partition movements in the cluster
Corresponding admin API endpoint:
POST /v1/cluster/cancel_reconfigurations
.Query parameters: none
Response: a list of
partition_result
objects.Response example:
In case of error a standard admin API response is returned, example:
Scenario 2: cancel all partition movements on a node
Corresponding admin API endpoint:
POST /v1/brokers/{id}/cancel_partition_moves
.Query parameters:
id
- node id.Response: the same as in scenario 1.
Scenario 3 (low priority): cancel a single partition movement
Corresponding admin API endpoints
POST /v1/partitions/{namespace}/{topic}/{partition}/cancel_reconfiguration
POST /v1/partitions/{namespace}/{topic}/{partition}/unclean_abort_reconfiguration
Query parameters:
namespace
topic
partition
Response: empty if successful, otherwise standard admin API error response.
Note: force-abort versions of scenario 1 and scenario 2 need to be implemented too, but redpanda support is not ready yet (tracking in #5782)
The text was updated successfully, but these errors were encountered: