[jira] [Created] (IGNITE-12536) Inconsistency between cache data and indexes when cache operation is interrupted

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12536) Inconsistency between cache data and indexes when cache operation is interrupted

Anton Vinogradov (Jira)
Taras Ledkov created IGNITE-12536:
-------------------------------------

             Summary: Inconsistency between cache data and indexes when cache operation is interrupted
                 Key: IGNITE-12536
                 URL: https://issues.apache.org/jira/browse/IGNITE-12536
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 2.7
            Reporter: Taras Ledkov
            Assignee: Taras Ledkov
             Fix For: 2.8


*Root cause:*
Inconsistency between cache and indexes happens when cache operation put/remove is interrupted (e.g. thread is interrupted). The cache operation is finished, GridH2Table#lock(boolean) }} is interrupted because {{Lock#lockInterruptibly is used.

*Possible fix:*
Use not interruptible lock for cache operation and interruptible lock for SQL operation.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)