You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "Lalant (via GitHub)" <gi...@apache.org> on 2026/03/10 10:25:09 UTC
[PR] IGNITE-28123 ClientPrimaryReplicaTracker: avoid null-partitions failure when primary-replica lookup completes exceptionally [ignite-3]
Lalant opened a new pull request, #7741:
URL: https://github.com/apache/ignite-3/pull/7741
Under node restarts, partition assignment lookup may complete exceptionally while resolving primary replicas.
In ClientPrimaryReplicaTracker.primaryReplicasAsyncInternal, the exceptional path was not terminated for non-TableNotFound errors, and execution could continue into result construction with partitions == null, causing a secondary failure (NullPointerException from unboxing).
https://issues.apache.org/jira/browse/IGNITE-28123
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28123 ClientPrimaryReplicaTracker: avoid null-partitions failure when primary-replica lookup completes exceptionally [ignite-3]
Posted by "sk0x50 (via GitHub)" <gi...@apache.org>.
sk0x50 merged PR #7741:
URL: https://github.com/apache/ignite-3/pull/7741
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-28123 ClientPrimaryReplicaTracker: avoid null-partitions failure when primary-replica lookup completes exceptionally [ignite-3]
Posted by "ptupitsyn (via GitHub)" <gi...@apache.org>.
ptupitsyn commented on code in PR #7741:
URL: https://github.com/apache/ignite-3/pull/7741#discussion_r2911058578
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientPrimaryReplicaTracker.java:
##########
@@ -197,7 +197,9 @@ private CompletableFuture<PrimaryReplicasResult> primaryReplicasAsyncInternal(in
throw new CompletionException(cause);
}
- assert false : "Unexpected error: " + err;
+ throw err instanceof CompletionException
+ ? (CompletionException) err
+ : new CompletionException(err);
Review Comment:
```suggestion
throw sneakyThrow(err);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org