[ https://issues.apache.org/jira/browse/IGNITE-15965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447379#comment-17447379 ]
Semyon Danilov commented on IGNITE-15965: ----------------------------------------- Looks good to me! > Cluster has not been started invariant is broken > ------------------------------------------------ > > Key: IGNITE-15965 > URL: https://issues.apache.org/jira/browse/IGNITE-15965 > Project: Ignite > Issue Type: Bug > Reporter: Alexey Scherbakov > Assignee: Aleksandr Polovtcev > Priority: Major > Labels: ignite-3 > Fix For: 3.0.0-alpha4 > > Time Spent: 40m > Remaining Estimate: 0h > > If [1] is called from a message handler just after the cluster start, it will > trigger the assertion: > {code:java} > assert localMember != null : "Cluster has not been started";{code} > This is possible because local member is assigned after a > {_}cluster.startAwait(){_}, but messages start to process a bit earlier. > Suggested fix - always delegate localMember() call to ClusterImpl. > [1] org.apache.ignite.network.scalecube.ScaleCubeTopologyService#localMember > -- This message was sent by Atlassian Jira (v8.20.1#820001)