You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (JIRA)" <ji...@apache.org> on 2019/04/05 08:31:00 UTC

[jira] [Commented] (IGNITE-10344) Speed up cleanupRestoredCaches

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

Ignite TC Bot commented on IGNITE-10344:
----------------------------------------

{panel:title=--&gt; Run :: All: No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=3506186&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Speed up cleanupRestoredCaches
> ------------------------------
>
>                 Key: IGNITE-10344
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10344
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Voronkin
>            Assignee: Denis Chudov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> if (!cctx.kernalContext().clientNode() && !isLocalNodeInBaseline())
> {  // Stop all recovered caches and groups.  cctx.cache().onKernalStopCaches(true);  cctx.cache().stopCaches(true);  cctx.database().cleanupRestoredCaches();  // Set initial node started marker.  cctx.database().nodeStart(null); }
> If we have 100 cache groups we spent a lot of time about 36sec to cleanupRestoredCaches().
> We need to speed up this phase and add metrics on this.
>  
>  



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