ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9993) Values cached in WB store are locked during a batch flush
Date Wed, 24 Oct 2018 18:48:00 GMT
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)

Mime
View raw message