[
https://issues.apache.org/jira/browse/IGNITE-13345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177594#comment-17177594
]
Ignite TC Bot commented on IGNITE-13345:
----------------------------------------
{panel:title=Branch: [pull/8148/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8148/head] Base: [master] : New Tests
(20)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}MVCC PDS 4{color} [[tests
6|https://ci.ignite.apache.org/viewLog.html?buildId=5537064]]
* {color:#013220}IgnitePdsMvccTestSuite4:
WarmUpSelfTest.testNonPersistentDataRegionWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsMvccTestSuite4:
WarmUpSelfTest.testUnknownDataRegionWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsMvccTestSuite4:
WarmUpSelfTest.testUnknownDefaultWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsMvccTestSuite4:
WarmUpSelfTest.testExecutionStrategies - PASSED{color}
* {color:#013220}IgnitePdsMvccTestSuite4:
WarmUpSelfTest.testAvailableWarmUpStrategies - PASSED{color}
* {color:#013220}IgnitePdsMvccTestSuite4: WarmUpSelfTest.testStopWarmUp -
PASSED{color}
{color:#00008b}PDS 4{color} [[tests
6|https://ci.ignite.apache.org/viewLog.html?buildId=5536612]]
* {color:#013220}IgnitePdsTestSuite4:
WarmUpSelfTest.testNonPersistentDataRegionWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
WarmUpSelfTest.testUnknownDataRegionWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
WarmUpSelfTest.testUnknownDefaultWarmUpConfiguration - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4: WarmUpSelfTest.testExecutionStrategies -
PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
WarmUpSelfTest.testAvailableWarmUpStrategies - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4: WarmUpSelfTest.testStopWarmUp -
PASSED{color}
{color:#00008b}Service Grid (legacy mode){color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5536626]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=7ff330b2-71e1-4f12-9b7b-ae68b587c1e5, topVer=0,
msgTemplate=null, span=null, nodeId8=bd98aadb, msg=, type=NODE_JOINED,
tstamp=1597321299268], val2=AffinityTopologyVersion
[topVer=2881683751248964234, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=7ff330b2-71e1-4f12-9b7b-ae68b587c1e5, topVer=0,
msgTemplate=null, span=null, nodeId8=bd98aadb, msg=, type=NODE_JOINED,
tstamp=1597321299268], val2=AffinityTopologyVersion
[topVer=2881683751248964234, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=a371fc7e371-238e0c65-2924-43d2-9cdf-3afd5d0d3adf, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=5d88c5a4-1c7b-42a1-b4d0-8bdc061d426e, topVer=0, msgTemplate=null,
span=null, nodeId8=5d88c5a4, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1597321299268]], val2=AffinityTopologyVersion
[topVer=-2466747293893613496, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=a371fc7e371-238e0c65-2924-43d2-9cdf-3afd5d0d3adf, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=5d88c5a4-1c7b-42a1-b4d0-8bdc061d426e, topVer=0, msgTemplate=null,
span=null, nodeId8=5d88c5a4, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1597321299268]], val2=AffinityTopologyVersion
[topVer=-2466747293893613496, minorTopVer=0]]] - PASSED{color}
{color:#00008b}Service Grid{color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5536625]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=6f0834a3-b94c-48c7-9965-30d94bf26fd0, topVer=0,
msgTemplate=null, span=null, nodeId8=db1fd5be, msg=, type=NODE_JOINED,
tstamp=1597321227594], val2=AffinityTopologyVersion
[topVer=-8178158958501439281, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=6f0834a3-b94c-48c7-9965-30d94bf26fd0, topVer=0,
msgTemplate=null, span=null, nodeId8=db1fd5be, msg=, type=NODE_JOINED,
tstamp=1597321227594], val2=AffinityTopologyVersion
[topVer=-8178158958501439281, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=3a19dc7e371-52e5ffd0-a404-437a-9af7-3e2debbad703, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=d61602e5-49e1-46c8-8432-7ff9aed1c598, topVer=0, msgTemplate=null,
span=null, nodeId8=d61602e5, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1597321227594]], val2=AffinityTopologyVersion
[topVer=4687873515660325212, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=3a19dc7e371-52e5ffd0-a404-437a-9af7-3e2debbad703, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=d61602e5-49e1-46c8-8432-7ff9aed1c598, topVer=0, msgTemplate=null,
span=null, nodeId8=d61602e5, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1597321227594]], val2=AffinityTopologyVersion
[topVer=4687873515660325212, minorTopVer=0]]] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5536648&buildTypeId=IgniteTests24Java8_RunAll]
> Warming up strategy
> -------------------
>
> Key: IGNITE-13345
> URL: https://issues.apache.org/jira/browse/IGNITE-13345
> Project: Ignite
> Issue Type: New Feature
> Reporter: Kirill Tkalenko
> Assignee: Kirill Tkalenko
> Priority: Major
> Labels: IEP-40
> Fix For: 2.10
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Summary of
> [Dev-list|http://apache-ignite-developers.2346864.n4.nabble.com/DISCUSSION-Cache-warmup-td48582.html]
> # Adding a marker interface
> *org.apache.ignite.configuration.WarmUpConfiguration*;
> # Adding a configuration to
> ##
> *org.apache.ignite.configuration.DataRegionConfiguration#setWarmUpConfiguration*
> ##
> *org.apache.ignite.configuration.DataStorageConfiguration#setDefaultWarmUpConfiguration*
> # Add an internal warm-up interface that will start in [1] after [2] (after
> recovery);
> {code:java}
> package org.apache.ignite.internal.processors.cache.warmup;
> import org.apache.ignite.IgniteCheckedException;
> import org.apache.ignite.configuration.WarmUpConfiguration;
> import org.apache.ignite.internal.GridKernalContext;
> import org.apache.ignite.internal.processors.cache.persistence.DataRegion;
> /**
> * Interface for warming up.
> */
> public interface WarmUpStrategy<T extends WarmUpConfiguration> {
> /**
> * Returns configuration class for mapping to strategy.
> *
> * @return Configuration class.
> */
> Class<T> configClass();
> /**
> * Warm up.
> *
> * @param kernalCtx Kernal context.
> * @param cfg Warm-up configuration.
> * @param region Data region.
> * @throws IgniteCheckedException if faild.
> */
> void warmUp(GridKernalContext kernalCtx, T cfg, DataRegion region) throws
> IgniteCheckedException;
> /**
> * Closing warm up.
> *
> * @throws IgniteCheckedException if faild.
> */
> void close() throws IgniteCheckedException;
> }
> {code}
> # Adding an internal plugin extension for add own strategies;
> {code:java}
> package org.apache.ignite.internal.processors.cache.warmup;
>
> import java.util.Collection;
> import org.apache.ignite.plugin.Extension;
>
> /**
> * Interface for getting warm-up strategies from plugins.
> */
> public interface WarmUpStrategySupplier extends Extension {
> /**
> * Getting warm-up strategies.
> *
> * @return Warm-up strategies.
> */
> Collection<WarmUpStrategy> strategies();
> }
> {code}
> # Adding strategies:
> ## Without implementation, for the possibility of disabling the warm-up: NoOP
> ## Loading everything while there is RAM with priority to indexes: LoadAll
> # Add a command to "control.sh", to stop current warm-up and cancel all
> others: --warm-up stop
> [1] -
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.CacheRecoveryLifecycle#afterLogicalUpdatesApplied
> [2] -
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.CacheRecoveryLifecycle#restorePartitionStates
--
This message was sent by Atlassian Jira
(v8.3.4#803005)