You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2018/08/27 15:37:00 UTC

[jira] [Commented] (IGNITE-7259) GridIndexRebuildSelfTest hangs

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

Andrew Mashenkov commented on IGNITE-7259:
------------------------------------------

Wrong lock order is the issue here.

GridIndexRebuildSelfTest.putData() acquires semaphore permit and then update an entry under lock,
while SchemaIndexCacheVisitorImpl calls  TestRebuildClosure under entry lock and waits for permits become available inside the closure.

Seems, we should either force visitor to revisit a row or rethink if semaphore is really needed here.

> GridIndexRebuildSelfTest hangs
> ------------------------------
>
>                 Key: IGNITE-7259
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7259
>             Project: Ignite
>          Issue Type: Task
>          Components: mvcc, sql
>            Reporter: Vladimir Ozerov
>            Assignee: Andrew Mashenkov
>            Priority: Major
>             Fix For: 2.7
>
>




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