You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2018/02/14 07:34:00 UTC

[jira] [Assigned] (IGNITE-7698) Page read during replacement should be outside of segment write lock

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

Dmitriy Pavlov reassigned IGNITE-7698:
--------------------------------------

    Assignee: Dmitriy Pavlov

> Page read during replacement should be outside of segment write lock
> --------------------------------------------------------------------
>
>                 Key: IGNITE-7698
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7698
>             Project: Ignite
>          Issue Type: Improvement
>          Components: persistence
>    Affects Versions: 2.1
>            Reporter: Alexey Goncharuk
>            Assignee: Dmitriy Pavlov
>            Priority: Major
>             Fix For: 2.5
>
>
> When a page is acquired, if it needs to be read from disk, we read it inside the segment write lock which blocks other threads from acquiring pages that are already in memory.
> This can be easily avoided: once we initialized the page's being loaded RW lock, we can immediately acquire the write lock - no deadlocks can happen here. Afterwards, we can release the segment write lock and read the page.
> The change seems to be very local.



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