Hi All,
I am unable to fetch data from cache by reading by key.intermittently (very
rarely).

Ignite version: 2.10
Cache mode: Partition
Client : C# with Ignite thick client

Scenario:
My C# application received a request for cache data insertion @ 09:09:35
and successfully insertion initiated at application side.
Thereafter @ 09:10:21 C# application received a request to read cache data
for the same key and Ignite TryGet could not fetch data.
Note: We are able to get cache data by the same key after some time.

Cache creation code
var IgniteCache= IIgnite.GetCache<string, cacheModel>("cacheModel")
        .WithExpiryPolicy(new ExpiryPolicy(
             TimeSpan.FromMinutes(60),
             TimeSpan.FromMinutes(60),
             TimeSpan.FromMinutes(60)
             ));

Cache data insertion code
IgniteCache.Put(cacheKey, (T)data);

Cache data reading code
  IgniteCache.TryGet(Key, out var value);

Thanks & Regards,
Charlin

Reply via email to