Aleksandr created IGNITE-27504:
----------------------------------
Summary: CLI restart partitions fails with invalid partition id or
unknown node
Key: IGNITE-27504
URL: https://issues.apache.org/jira/browse/IGNITE-27504
Project: Ignite
Issue Type: Bug
Reporter: Aleksandr
We had an intermittent failure on the TC where we can't reset partitions via
CLI due to a partition id being out of range of available for a table.
It is either a negative value or value more than possible number of partitions
for a given table.
Logs example from the failure:
{code}
Caused by: org.apache.ignite.rest.client.invoker.ApiException: Message: Bad
Request
08:35:14 HTTP response code: 400
08:35:14 HTTP response body: {"title":"Bad
Request","status":400,"code":"IGN-RECOVERY-2","detail":"Some nodes are missing:
[unknownNode]","traceId":"8afbe7e8-3618-43c1-9727-40a46b64470b"}
08:35:14 HTTP response headers: {connection=[keep-alive],
content-length=[158], content-type=[application/problem+json], date=[Tue, 22
Jul 2025 08:35:14 GMT]}
08:35:14 at
org.apache.ignite.rest.client.invoker.ApiClient.handleResponse(ApiClient.java:1180)
08:35:14 at
org.apache.ignite.rest.client.invoker.ApiClient.execute(ApiClient.java:1093)
08:35:14 at
org.apache.ignite.rest.client.invoker.ApiClient.execute(ApiClient.java:1076)
08:35:14 at
org.apache.ignite.rest.client.api.RecoveryApi.restartPartitionsWithHttpInfo(RecoveryApi.java:1573)
08:35:14 at
org.apache.ignite.rest.client.api.RecoveryApi.restartPartitions(RecoveryApi.java:1553)
08:35:14 at
org.apache.ignite.internal.cli.call.recovery.restart.RestartPartitionsCall.execute(RestartPartitionsCall.java:54)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)