Force update partition replicas
Query parameters
-
Set to
trueto force a new replica set onto the controller partition (redpanda/controller/0). Use it only to recover the controller. Requests for the controller partition without it fail with a 400 error.
POST
/v1/debug/partitions/{namespace}/{topic}/{partition}/force_replicas
curl \
--request POST 'http://localhost:9644/v1/debug/partitions/{namespace}/{topic}/{partition}/force_replicas' \
--header "Content-Type: application/json" \
--data '[
{
"core": 42,
"node_id": 42
}
]'
Request examples
[
{
"core": 42,
"node_id": 42
}
]