You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Aleksandrov (JIRA)" <ji...@apache.org> on 2019/03/05 12:48:00 UTC

[jira] [Assigned] (IGNITE-9993) Some values cached in WB store are locked during a batch flush

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

Andrey Aleksandrov reassigned IGNITE-9993:
------------------------------------------

    Assignee: Andrey Aleksandrov

> Some 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
>    Affects Versions: 2.6
>            Reporter: Dmitry Konstantinov
>            Assignee: Andrey Aleksandrov
>            Priority: Major
>
> The following logic is executed under write lock within flushing logic:
> {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 for the first value in next batch while the whole current 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)