[ 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 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 issues 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. > 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 > > 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 issues is reproduced in {{IgniteSqlQueryMinMaxTest}} from time to time. -- This message was sent by Atlassian JIRA (v7.6.14#76016)