Stephen Darlington created IGNITE-16449:
-------------------------------------------

             Summary: Crash when using CacheStore with SQL On-Heap Cache
                 Key: IGNITE-16449
                 URL: https://issues.apache.org/jira/browse/IGNITE-16449
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 2.11.1, 2.11, 2.12
         Environment: Java 11
            Reporter: Stephen Darlington
         Attachments: cachestore-btree.zip

If you enable the on-heap SQL cache and use the cache-store, you get a B+ Tree 
corruption error.

{{SEVERE: JVM will be halted immediately due to the failure: 
[failureCtx=FailureContext [type=CRITICAL_ERROR, err=class 
o.a.i.i.processors.cache.persistence.tree.CorruptedTreeException: B+Tree is 
corrupted [pages(groupId, pageId)=[IgniteBiTuple [val1=-1938387115, 
val2=844420635166791]], cacheId=-1938387115, cacheName=PERSON, 
indexName=PERSON_HEIGHT_IDX, msg=Runtime failure on row: Row@33647615[ key: 
-9203523458338071405, val: CacheStoreServer$Person [idHash=1063096745, 
hash=-1708653899, name=Name 32047, height=177, this$0=null] ][ ]]]]}}

Find attached a reproducer. It appears to be a race condition, so you may need 
to run it several times. Alternatively, you can add more data.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to