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 Voronkin (JIRA)" <ji...@apache.org> on 2018/11/21 06:18:00 UTC
[jira] [Updated] (IGNITE-10344) Speed up cleanupRestoredCaches
[ https://issues.apache.org/jira/browse/IGNITE-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Voronkin updated IGNITE-10344:
------------------------------------
Description:
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.
was:
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 many cache groups we spent a lot of time about 30sec to cleanupRestoredCaches().
We need to speed up this phase and add metrics on this.
> Speed up cleanupRestoredCaches
> ------------------------------
>
> Key: IGNITE-10344
> URL: https://issues.apache.org/jira/browse/IGNITE-10344
> Project: Ignite
> Issue Type: Improvement
> Reporter: Pavel Voronkin
> Priority: Major
>
> 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)