ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Chugunov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9418) Avoid initialize file page store manager for caches during PME synchronously
Date Mon, 29 Oct 2018 08:00:00 GMT

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

Sergey Chugunov commented on IGNITE-9418:
-----------------------------------------

[~zstan],

Your latest change makes sense, also I clarified my understanding of when and where FailureHandler
is called during PageStore initialization process; it seems my comment in PR isn't relevant
as FH will be called anyway in *initDir* method.

Let's check TC status, if it is OK, please proceed with merging.

Thank you for contribution!

> 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: Stanilovsky Evgeny
>            Priority: Critical
>             Fix For: 2.8
>
>
> 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)

Mime
View raw message