You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (Jira)" <ji...@apache.org> on 2021/09/08 06:09:00 UTC
[jira] [Created] (IGNITE-15472) MetaStorage.iterate not thread safe
with delete
Alexander Belyak created IGNITE-15472:
-----------------------------------------
Summary: MetaStorage.iterate not thread safe with delete
Key: IGNITE-15472
URL: https://issues.apache.org/jira/browse/IGNITE-15472
Project: Ignite
Issue Type: Bug
Components: persistence
Reporter: Alexander Belyak
Got exception while iterating {color:#000000}ReadWriteMetastorage:{color}
{code:java}
// [2021-09-08 12:41:24,762][ERROR][stat-mgmt-#147%stat.StatisticsGlobalViewPersistenceTest0%][IgniteStatisticsConfigurationManager] Unexpected error on check local statisticsjava.lang.AssertionError: itemId=2, directCnt=2, indirectCnt=0, page=0001000100000048 [496, 1696][][free=1638] at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.getDataOffset(AbstractDataPageIO.java:582) at org.apache.ignite.internal.processors.cache.persistence.tree.io.AbstractDataPageIO.readPayload(AbstractDataPageIO.java:626) at org.apache.ignite.internal.processors.cache.persistence.partstorage.PartitionMetaStorageImpl.readRow(PartitionMetaStorageImpl.java:107) at org.apache.ignite.internal.processors.cache.persistence.metastorage.MetaStorage.iterate(MetaStorage.java:363) at org.apache.ignite.internal.processors.query.stat.IgniteStatisticsPersistenceStoreImpl.iterateMeta(IgniteStatisticsPersistenceStoreImpl.java:659) at org.apache.ignite.internal.processors.query.stat.IgniteStatisticsPersistenceStoreImpl.getLocalPartitionsStatistics(IgniteStatisticsPersistenceStoreImpl.java:370) at org.apache.ignite.internal.processors.query.stat.IgniteStatisticsRepository.getLocalPartitionsStatistics(IgniteStatisticsRepository.java:239) (edited)
{code}
There is probability of parallel deletion of the same keys.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)