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

Taras Ledkov updated IGNITE-12536:
----------------------------------
    Description: 
*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.


  was:
*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.



> 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
>            Priority: Major
>             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)

Reply via email to