sk0x50 commented on PR #6148:
URL: https://github.com/apache/ignite-3/pull/6148#issuecomment-3018561136

   Does it make sense to fix a possible `NullPointerException` here 
[PartitionReplicaLifecycleManager.handleChangePendingAssignmentEvent](https://github.com/apache/ignite-3/blob/main/modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java#L1224)
 in the same way it was done under 
[IGNITE-24072](https://issues.apache.org/jira/browse/IGNITE-24072)
   ```
       AssignmentsQueue pendingAssignmentsQueue = 
AssignmentsQueue.fromBytes(pendingAssignmentsEntry.value());
       Assignments pendingAssignments = pendingAssignmentsQueue == null ? 
Assignments.EMPTY : pendingAssignmentsQueue.poll();
   ```


-- 
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-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to