ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Seliverstov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-5301) JVM crashes on H2TreeIndex destroy
Date Fri, 26 May 2017 13:44:04 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-5301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Igor Seliverstov updated IGNITE-5301:
-------------------------------------
    Description: 
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.


  was:See the attached log.


> 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
>         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.



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

Mime
View raw message