[jira] [Created] (IGNITE-9993) Values cached in WB store are locked during a batch flush

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

[jira] [Created] (IGNITE-9993) Values cached in WB store are locked during a batch flush

Anton Vinogradov (Jira)
Dmitry Konstantinov created IGNITE-9993:
-------------------------------------------

             Summary: Values cached in WB store are locked during a batch flush
                 Key: IGNITE-9993
                 URL: https://issues.apache.org/jira/browse/IGNITE-9993
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Dmitry Konstantinov


The following logic is executed under write lock:
{code: java}
applyBatch(pending, true, null);
{code}
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheWriteBehindStore.java#L1120
In combination with IGNITE-5003 it may cause locking of a put/remove operation while the whole batch is applying.

applyBatch(pending, true, null); should be moved out of the lock guarded section.



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