Egor Kuts created IGNITE-27159:
----------------------------------

             Summary: Possible NPE in PartitionReplicaLifecycleManager
                 Key: IGNITE-27159
                 URL: https://issues.apache.org/jira/browse/IGNITE-27159
             Project: Ignite
          Issue Type: Bug
          Components: replication ai3
            Reporter: Egor Kuts


inside 

org.apache.ignite.internal.partition.replicator.PartitionReplicaLifecycleManager#handleChangePendingAssignmentEvent(org.apache.ignite.internal.replicator.ZonePartitionId,
 org.apache.ignite.internal.partitiondistribution.Assignments, 
org.apache.ignite.internal.partitiondistribution.Assignments, long, boolean)

we check for replicaMgr.isReplicaStarted(replicaGrpId) and then use 
replicaMgr.replica(replicaGrpId).thenAccept(..), but it's possible for replica 
disappear between the calls and cause NPE



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to