Skip to content

IGNITE-28123 ClientPrimaryReplicaTracker: avoid null-partitions failure when primary-replica lookup completes exceptionally#7741

Open
Lalant wants to merge 2 commits intoapache:mainfrom
Lalant:ignite-28123-ClientPrimaryReplicaTracker-avoid-null-partitions-failure
Open

IGNITE-28123 ClientPrimaryReplicaTracker: avoid null-partitions failure when primary-replica lookup completes exceptionally#7741
Lalant wants to merge 2 commits intoapache:mainfrom
Lalant:ignite-28123-ClientPrimaryReplicaTracker-avoid-null-partitions-failure

Conversation

@Lalant
Copy link
Contributor

@Lalant Lalant commented Mar 10, 2026

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

…plete 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).
@Lalant Lalant force-pushed the ignite-28123-ClientPrimaryReplicaTracker-avoid-null-partitions-failure branch from ebe0c81 to a7e4de0 Compare March 10, 2026 11:14
@Lalant Lalant force-pushed the ignite-28123-ClientPrimaryReplicaTracker-avoid-null-partitions-failure branch 2 times, most recently from 3803392 to e408967 Compare March 11, 2026 08:16
@Lalant Lalant force-pushed the ignite-28123-ClientPrimaryReplicaTracker-avoid-null-partitions-failure branch from e408967 to 4542f1d Compare March 11, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants