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

Aleksandr Polovtsev updated IGNITE-22609:
-----------------------------------------
    Description: 
See the attached stacktrace for details. Looks like we are trying to process a 
read command in {{MetaStorageListener}} while the underlying storage has 
already been closed.  

This may be happening because looks like we don't guarantee that 
{{RaftManager#stopRaftNodes}} waits for all read commands to be processed. If 
this is the case, a possible solution would be to add a busy lock either to the 
{{MetaStorageListener}} or to the {{KeyValueStorage}}. But this needs to be 
verified first. 

Also, it must be checked if similar Raft Listeners in other components are 
affected by the same issue.

  was:See the attached stacktrace for details


> MetaStorageListener can access KeyValueStorage after it had been closed
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-22609
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22609
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtsev
>            Priority: Major
>              Labels: ignite-3
>         Attachments: hs_err_pid2936001.log
>
>
> See the attached stacktrace for details. Looks like we are trying to process 
> a read command in {{MetaStorageListener}} while the underlying storage has 
> already been closed.  
> This may be happening because looks like we don't guarantee that 
> {{RaftManager#stopRaftNodes}} waits for all read commands to be processed. If 
> this is the case, a possible solution would be to add a busy lock either to 
> the {{MetaStorageListener}} or to the {{KeyValueStorage}}. But this needs to 
> be verified first. 
> Also, it must be checked if similar Raft Listeners in other components are 
> affected by the same issue.



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

Reply via email to