ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5301) JVM crashes on H2TreeIndex destroy
Date Mon, 29 May 2017 19:54:04 GMT

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

ASF GitHub Bot commented on IGNITE-5301:
----------------------------------------

GitHub user EdShangGG opened a pull request:

    https://github.com/apache/ignite/pull/2029

    IGNITE-5301 JVM crashes on H2TreeIndex destroy

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-5301

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2029.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2029
    
----
commit ef01e7558bec7f5e12d8f75694bb40e8f84998cf
Author: EdShangGG <eshangareev@gridgain.com>
Date:   2017-05-29T19:49:41Z

    IGNITE-5301 JVM crashes on H2TreeIndex destroy

----


> JVM crashes on H2TreeIndex destroy
> ----------------------------------
>
>                 Key: IGNITE-5301
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5301
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.1
>            Reporter: Igor Seliverstov
>            Assignee: Eduard Shangareev
>         Attachments: hs_err_pid9664.log
>
>
> There is a bug in destroy method because of which {noformat}cctx.offheap().dropRootPageForIndex(idxName){noformat}
method actually does nothing. It happens because idx names on create RootPage and destroy
it are different (unlike creation a root page, a segment suffix isn't added to tree name on
destroy, so that it can't delete the page from metastore by different key).
> After fixing this behavior I faced JVM crash. 
> I'm quite not familiar with the code, but I suppose something is wrong in MetaStoreInnerIO
logic.
> Crash report is attached.
> How to reproduce:
> just create and destroy a cache with indexed types and enabled PDS feature after the
fix I provided above is applied.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message