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

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

{panel:title=Branch: [pull/9722/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9722/head] Base: [master] : New Tests 
(16)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Platform .NET (Windows){color} [[tests 
8|https://ci.ignite.apache.org/viewLog.html?buildId=6361674]]
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestGetAndPutUpdatesPlatformCache - 
PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestGetRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestPutUpdatesPlatformCache - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestScanQueryLocalPartitionScanOptimizationDisabledWithPersistence
 - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestContainsKeyRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestContainsKeysRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestGetAllRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}exe: 
PlatformCacheWithPersistenceTest.TestScanQueryWithFilterUsesPersistentData - 
PASSED{color}

{color:#00008b}Platform .NET (Core Linux){color} [[tests 
8|https://ci.ignite.apache.org/viewLog.html?buildId=6362375]]
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestScanQueryWithFilterUsesPersistentData - 
PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestGetAndPutUpdatesPlatformCache - 
PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestGetRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestPutUpdatesPlatformCache - PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestScanQueryLocalPartitionScanOptimizationDisabledWithPersistence
 - PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestContainsKeyRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestContainsKeysRestoresPlatformCacheDataFromPersistence
 - PASSED{color}
* {color:#013220}dll: 
PlatformCacheWithPersistenceTest.TestGetAllRestoresPlatformCacheDataFromPersistence
 - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6361766&buildTypeId=IgniteTests24Java8_RunAll]

> .NET: Platform cache is not restored from persistent storage on node restart
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-16242
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16242
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>             Fix For: 2.13
>
>
> When persistence is enabled and node restarts, [platform 
> cache|https://ignite.apache.org/docs/latest/net-specific/net-platform-cache] 
> is empty and remains empty even after read operations.
> {code:c#}
> var cfg = new IgniteConfiguration
> {
>     DataStorageConfiguration = new DataStorageConfiguration
>     {
>         DefaultDataRegionConfiguration = new DataRegionConfiguration
>         {
>             Name = DataStorageConfiguration.DefaultDataRegionName,
>             PersistenceEnabled = true
>         }
>     }
> };
> var cacheCfg = new CacheConfiguration
> {
>     Name = "c",
>     PlatformCacheConfiguration = new()
> };
> using (var ignite = Ignition.Start(cfg))
> {
>     ignite.GetCluster().SetActive(true);
>     var cache = ignite.GetOrCreateCache<int, int>(cacheCfg);
>     cache[1] = 1;
>     Console.WriteLine(">>> Cache size:" + cache.GetSize());
>     Console.WriteLine(">>> Platform cache size:" + 
> cache.GetLocalSize(CachePeekMode.Platform));
> }
> using (var ignite = Ignition.Start(cfg))
> {
>     ignite.GetCluster().SetActive(true);
>     var cache = ignite.GetOrCreateCache<int, int>(cacheCfg);
>     Console.WriteLine(">>> Cache size:" + cache.GetSize());
>     Console.WriteLine(">>> Platform cache size:" + 
> cache.GetLocalSize(CachePeekMode.Platform));
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to