You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2020/10/26 14:28:00 UTC

[jira] [Commented] (IGNITE-12794) Scan query fails with an assertion error: Unexpected row key

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

Aleksey Plekhanov commented on IGNITE-12794:
--------------------------------------------

[~dmekhanikov], we've faced with the same issue. The problem also reproduces without any updates, only concurrent scan queries on cache with expire policy enough to trigger failure handler on the node. I've reviewed your patch and it looks good to me. Do we need a review from someone else, or I can merge the fix?  

> Scan query fails with an assertion error: Unexpected row key
> ------------------------------------------------------------
>
>                 Key: IGNITE-12794
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12794
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.8
>            Reporter: Denis Mekhanikov
>            Assignee: Denis Mekhanikov
>            Priority: Major
>             Fix For: 2.10
>
>         Attachments: ScanQueryExample.java
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Scan query fails with an exception:
> {noformat}
> Exception in thread "main" java.lang.AssertionError: Unexpected row key
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.unswap(GridCacheMapEntry.java:548)
> 	at org.apache.ignite.internal.processors.cache.GridCacheMapEntry.unswap(GridCacheMapEntry.java:512)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager$ScanQueryIterator.advance(GridCacheQueryManager.java:3045)
> 	at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager$ScanQueryIterator.onHasNext(GridCacheQueryManager.java:2997)
> 	at org.apache.ignite.internal.util.GridCloseableIteratorAdapter.hasNextX(GridCloseableIteratorAdapter.java:53)
> 	at org.apache.ignite.internal.util.lang.GridIteratorAdapter.hasNext(GridIteratorAdapter.java:45)
> 	at org.apache.ignite.internal.processors.cache.QueryCursorImpl.getAll(QueryCursorImpl.java:127)
> 	at scan.ScanQueryExample.main(ScanQueryExample.java:31)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)"
> {noformat}
> The issue is reproduced when performing concurrent scan queries and updates. A reproducer is attached. You will need to enable asserts in order to reproduce this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)