[ 
https://issues.apache.org/jira/browse/IGNITE-7972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435676#comment-16435676
 ] 

Andrew Mashenkov commented on IGNITE-7972:
------------------------------------------

GridCacheUtils.unwindEvicts() takes cache contexts from SharedContext and tries 
to evict entries from known caches.

Possible issue here is that cache context is published to SharedContext before 
it's managers (incl. TtlManager) has started.
There is a guarantee that if cache context.started()==true then all it's 
managers is started as well.

Seems, GridCacheUtils.unwindEvicts() should just check if cache context is 
started.

> NPE in TTL manager.
> -------------------
>
>                 Key: IGNITE-7972
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7972
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.3
>            Reporter: Andrew Mashenkov
>            Assignee: Andrew Mashenkov
>            Priority: Major
>         Attachments: npe.log
>
>
> TTL manager can try to evict expired entries on cache that wasn't initialized 
> yet due to a race.
> This lead to NPE in unwindEvicts method.
> PFA stacktrace.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to