[
https://issues.apache.org/jira/browse/IGNITE-13217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212251#comment-17212251
]
Ignite TC Bot commented on IGNITE-13217:
----------------------------------------
{panel:title=Branch: [pull/7994/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/7994/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 2{color} [[tests
3|https://ci.ignite.apache.org/viewLog.html?buildId=5651518]]
* {color:#013220}IgniteCacheTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnClient - PASSED{color}
* {color:#013220}IgniteCacheTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnClientWithClosedCache -
PASSED{color}
* {color:#013220}IgniteCacheTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnServerWithClosedCache -
PASSED{color}
{color:#00008b}MVCC Cache 2{color} [[tests
3|https://ci.ignite.apache.org/viewLog.html?buildId=5651526]]
* {color:#013220}IgniteCacheMvccTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnClient - PASSED{color}
* {color:#013220}IgniteCacheMvccTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnServerWithClosedCache -
PASSED{color}
* {color:#013220}IgniteCacheMvccTestSuite2:
CacheDetectLostPartitionsTest.testDetectLostPartitionsOnClientWithClosedCache -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5648967&buildTypeId=IgniteTests24Java8_RunAll]
> Partition loss detection is not working if a dynamic cache is not started on
> a client.
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-13217
> URL: https://issues.apache.org/jira/browse/IGNITE-13217
> Project: Ignite
> Issue Type: Bug
> Reporter: Sergey Uttsel
> Assignee: Sergey Uttsel
> Priority: Major
> Fix For: 2.10
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Partition loss detection is not working if dynamic cache is not initialized
> on client.
> WA: get cache proxy on client before data node has left.
> Reproducer:
> {code:java}
> public void test() throws Exception {
> IgniteEx ig = startGrids(2);
> awaitPartitionMapExchange();
> IgniteCache<Object, Object> cache = ig.getOrCreateCache(new
> CacheConfiguration<>("testtest").setPartitionLossPolicy(PartitionLossPolicy.READ_WRITE_SAFE));
> for (int i = 0; i < 1000; i++)
> cache.put(i, i);
> IgniteEx client = startClientGrid(2);
> stopGrid(1);
> assertFalse(client.cache("testtest").lostPartitions().isEmpty());
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)