[
https://issues.apache.org/jira/browse/IGNITE-19141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707162#comment-17707162
]
Ignite TC Bot commented on IGNITE-19141:
----------------------------------------
{panel:title=Branch: [pull/10613/head] Base: [master] : Possible Blockers
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Thin client: Node.js{color} [[tests 0 Exit Code
|https://ci2.ignite.apache.org/viewLog.html?buildId=7117745]]
{panel}
{panel:title=Branch: [pull/10613/head] Base: [master] : New Tests
(8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 4{color} [[tests
8|https://ci2.ignite.apache.org/viewLog.html?buildId=7113837]]
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnCacheStop[sharedGroup=false,
persistence=false] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnCacheStop[sharedGroup=true,
persistence=false] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnDeactivate[sharedGroup=false,
persistence=true] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnCacheStop[sharedGroup=false,
persistence=true] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnDeactivate[sharedGroup=false,
persistence=false] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnDeactivate[sharedGroup=true,
persistence=true] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnCacheStop[sharedGroup=true,
persistence=true] - PASSED{color}
* {color:#013220}IgnitePdsTestSuite4:
IgniteRebalanceRepeatingCacheStopTest.testRebalanceOnDeactivate[sharedGroup=true,
persistence=false] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7111800&buildTypeId=IgniteTests24Java8_RunAll]
> Node failes on rebalance during deactivation
> --------------------------------------------
>
> Key: IGNITE-19141
> URL: https://issues.apache.org/jira/browse/IGNITE-19141
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Failure handler triggered if caches is stopped (for example, due to
> deactivation) and node is processing partitions supply message. Reproducer:
> {code:java}
> @Override protected FailureHandler getFailureHandler(String
> igniteInstanceName) {
> return new StopNodeFailureHandler();
> }
> @Test
> public void testRebalanceOnDeactivate() throws Exception {
> IgniteEx ignite0 = startGrid(0);
> IgniteEx ignite1 = startGrid(1);
> ignite0.cluster().state(ClusterState.ACTIVE);
> ignite0.cluster().baselineAutoAdjustEnabled(false);
> for (int i = 0; i < 10; i++) {
> IgniteCache<Integer, Integer> cache = ignite0.getOrCreateCache(
> new CacheConfiguration<Integer,
> Integer>(DEFAULT_CACHE_NAME).setBackups(1)
> .setAffinity(new RendezvousAffinityFunction(false, 2)));
> cache.clear();
> stopGrid(0);
> try (IgniteDataStreamer<Integer, Integer> streamer =
> ignite1.dataStreamer(DEFAULT_CACHE_NAME)) {
> for (int j = 0; j < 100_000; j++)
> streamer.addData(j, j);
> }
> ignite0 = startGrid(0);
> ignite0.cluster().state(ClusterState.INACTIVE);
> ignite0.cluster().state(ClusterState.ACTIVE);
> }
> }{code}
> Fails with:
> {noformat}
> java.lang.AssertionError: stopping=false, groupName=null, caches=[]
> at
> org.apache.ignite.internal.processors.cache.CacheGroupContext.singleCacheContext(CacheGroupContext.java:447)
> ~[classes/:?]
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionDemander.handleSupplyMessage(GridDhtPartitionDemander.java:584)
> ~[classes/:?]
> at
> org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPreloader.lambda$handleSupplyMessage$0(GridDhtPreloader.java:346)
> ~[classes/:?]{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)