ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Pavlukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-11996) Assertion error in IgniteCacheOffheapManagerImpl#destroyCacheDataStore
Date Fri, 19 Jul 2019 08:53:00 GMT

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

Ivan Pavlukhin updated IGNITE-11996:
------------------------------------
    Description: 
Assertion error occurs in IgniteCacheOffheapManagerImpl#destroyCacheDataStore in a following
code:
{code}
boolean removed = partDataStores.remove(p, store);

assert removed;
{code}

It asserts that a partition store must be removed from a map here. But in practice a removal
can occur at least in 2 places: node stop and partition eviction. Employed synchronization
is not sufficient to guarantee that a removal happens exactly once.

The issue is reproduced in {{IgniteSqlQueryMinMaxTest}} from time to time.

  was:
Assertion error occurs in a following code:
{code}
boolean removed = partDataStores.remove(p, store);

assert removed;
{code}

It asserts that a partition store must be removed from a map here. But in practice a removal
can occur at least in 2 places: node stop and partition eviction. Employed synchronization
is not sufficient to guarantee that a removal happens exactly once.

The issue is reproduced in {{IgniteSqlQueryMinMaxTest}} from time to time.


> Assertion error in IgniteCacheOffheapManagerImpl#destroyCacheDataStore
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-11996
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11996
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.7.5
>            Reporter: Ivan Pavlukhin
>            Assignee: Ivan Pavlukhin
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Assertion error occurs in IgniteCacheOffheapManagerImpl#destroyCacheDataStore in a following
code:
> {code}
> boolean removed = partDataStores.remove(p, store);
> assert removed;
> {code}
> It asserts that a partition store must be removed from a map here. But in practice a
removal can occur at least in 2 places: node stop and partition eviction. Employed synchronization
is not sufficient to guarantee that a removal happens exactly once.
> The issue is reproduced in {{IgniteSqlQueryMinMaxTest}} from time to time.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message