You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Kovalenko (JIRA)" <ji...@apache.org> on 2018/09/21 13:17:00 UTC

[jira] [Commented] (IGNITE-9418) Avoid initialize file page store manager for caches during PME synchronously

    [ https://issues.apache.org/jira/browse/IGNITE-9418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623606#comment-16623606 ] 

Pavel Kovalenko commented on IGNITE-9418:
-----------------------------------------

Successful criteria: we shouldn't invokeĀ org.apache.ignite.internal.processors.cache.persistence.file.FilePageStoreManager#initializeForCache synchronously during PME.

> Avoid initialize file page store manager for caches during PME synchronously
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-9418
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9418
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.5
>            Reporter: Pavel Kovalenko
>            Assignee: Pavel Kovalenko
>            Priority: Critical
>             Fix For: 2.7
>
>
> Currently, we do creation for partition and index files during PME for starting caches at the beginning of org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager#readCheckpointAndRestoreMemory method.
> We should avoid this because sometimes it took a long time as we perform writing to disk.
>  If the cache was registered during PME we should initialize page store lazy or asynchronously.



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