Igor Seliverstov created IGNITE-9489:
----------------------------------------

             Summary: CorruptedTreeException on index create.
                 Key: IGNITE-9489
                 URL: https://issues.apache.org/jira/browse/IGNITE-9489
             Project: Ignite
          Issue Type: Bug
          Components: cache, sql
    Affects Versions: 2.6, 2.5, 2.4
            Reporter: Igor Seliverstov
         Attachments: Test.java

Currently on dynamic index drop with enabled persistence H2TreeIndex instances 
aren't destroyed. That means that their root pages aren't removed from meta 
tree (see 
{{org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl#getOrAllocateForTree}})
 and reused on subsequent dynamic index create that leads 
CorruptedTreeException on initial index rebuild because there are some items 
with broken links on the root page.

Reproducer attached.



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

Reply via email to