[ 
https://issues.apache.org/jira/browse/IGNITE-23225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mirza Aliev updated IGNITE-23225:
---------------------------------
    Description: We have an idea why NPE happens in 
https://issues.apache.org/jira/browse/IGNITE-23132, seems like 
{{LastLogIdClosure}} from 
{{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl#getLastLogId}} is 
completed when {{LogManagerImpl.stopped}}, so 
{{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl#offerEvent}} leads 
to completing {{LastLogIdClosure}}  with {{RaftError.ESTOP}} and 
{{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl.LastLogIdClosure#lastLogId}}
 is not set. To check that, we want to add some logging and monitor TC.  (was: 
We have an idea why NPE happens in 
https://issues.apache.org/jira/browse/IGNITE-23132, seems like 
{{LastLogIdClosure}} from 
{{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl#getLastLogId}} is 
completed when {{this.stopped}})

> Add logging to LogManagerImpl
> -----------------------------
>
>                 Key: IGNITE-23225
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23225
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Mirza Aliev
>            Assignee: Mirza Aliev
>            Priority: Major
>              Labels: ignite-3
>
> We have an idea why NPE happens in 
> https://issues.apache.org/jira/browse/IGNITE-23132, seems like 
> {{LastLogIdClosure}} from 
> {{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl#getLastLogId}} is 
> completed when {{LogManagerImpl.stopped}}, so 
> {{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl#offerEvent}} leads 
> to completing {{LastLogIdClosure}}  with {{RaftError.ESTOP}} and 
> {{org.apache.ignite.raft.jraft.storage.impl.LogManagerImpl.LastLogIdClosure#lastLogId}}
>  is not set. To check that, we want to add some logging and monitor TC.



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

Reply via email to